mirror of https://github.com/akaunting/docker.git
Merge pull request #17 from solacelost/bugfix/depends
Depend on DB, adjust default db ref
This commit is contained in:
commit
0b9567e8a6
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue