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
|
||||
environment:
|
||||
- AKAUNTING_SETUP
|
||||
depends_on:
|
||||
- akaunting-db
|
||||
|
||||
akaunting-db:
|
||||
image: mariadb
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
APP_URL=https://akaunting.example.com
|
||||
LOCALE=en-US
|
||||
|
||||
# Don't change this unless you are using rootless podman without pod networking
|
||||
DB_HOST=127.0.0.1
|
||||
# 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=akaunting-db
|
||||
|
||||
# Change these to match env/db.env
|
||||
DB_DATABASE=akaunting
|
||||
|
|
Loading…
Reference in New Issue