Now that 5 is out, use DB_PASSWORD_FILE

This commit is contained in:
Luke Murphy 2020-08-07 11:31:58 +02:00
parent ef9c508c59
commit cd6e948443
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 1 additions and 4 deletions

View File

@ -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