Merge pull request #17 from solacelost/bugfix/depends

Depend on DB, adjust default db ref
This commit is contained in:
Denis Duliçi 2021-02-04 10:07:29 +03:00 committed by GitHub
commit 0b9567e8a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -15,6 +15,8 @@ services:
- env/run.env - env/run.env
environment: environment:
- AKAUNTING_SETUP - AKAUNTING_SETUP
depends_on:
- akaunting-db
akaunting-db: akaunting-db:
image: mariadb image: mariadb

4
env/run.env.example vendored
View File

@ -2,8 +2,8 @@
APP_URL=https://akaunting.example.com APP_URL=https://akaunting.example.com
LOCALE=en-US LOCALE=en-US
# Don't change this unless you are using rootless podman without pod networking # Don't change this unless you are using rootless podman, in which case you should set it to 127.0.0.1 (NOT localhost)
DB_HOST=127.0.0.1 DB_HOST=akaunting-db
# Change these to match env/db.env # Change these to match env/db.env
DB_DATABASE=akaunting DB_DATABASE=akaunting