Now that 5 is out, use DB_PASSWORD_FILE
This commit is contained in:
parent
ef9c508c59
commit
cd6e948443
|
@ -27,7 +27,7 @@ services:
|
|||
- "traefik.http.routers.invoiceninja.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
|
||||
invoiceninja:
|
||||
image: "invoiceninja/invoiceninja:4.5.18"
|
||||
image: "invoiceninja/invoiceninja:5"
|
||||
volumes:
|
||||
- "public:/var/www/app/public"
|
||||
- "storage:/var/www/app/storage"
|
||||
|
@ -45,9 +45,6 @@ services:
|
|||
- APP_URL=${DOMAIN}
|
||||
- DB_DATABASE=ninja
|
||||
- DB_HOST=mariadb
|
||||
# Note(decentral1se): this isnt supported until the v5 tag stabilises so
|
||||
# when you end up on the initial /setup URL, you need to copy in the
|
||||
# password. Once v5 is out, this will be seemless
|
||||
- DB_PASSWORD_FILE=/run/secrets/db_passwd
|
||||
- DB_STRICT=false
|
||||
- DB_TYPE=mysql
|
||||
|
|
Reference in New Issue