Fix miniflux databse population
Fixed access to postgres database not working for non-'miniflux' usernames. The database created is the same name as the username while the miniflux container would still look for the standard database. This fixes it to be able to take any username and corresponding database.
This commit is contained in:
parent
27daf9031b
commit
496a510ccc
2 changed files with 5 additions and 5 deletions
|
|
@ -13,7 +13,7 @@ services:
|
|||
retries: 3
|
||||
start_period: 1m
|
||||
environment:
|
||||
- DATABASE_URL=postgres://{{ miniflux_postgres_user }}:{{ miniflux_postgres_password }}@db/miniflux?sslmode=disable
|
||||
- DATABASE_URL=postgres://{{ miniflux_postgres_user }}:{{ miniflux_postgres_password }}@db/{{ miniflux_postgres_user }}?sslmode=disable
|
||||
- RUN_MIGRATIONS=1
|
||||
- CREATE_ADMIN=1
|
||||
- ADMIN_USERNAME={{ miniflux_admin_username }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue