mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 07:10:12 +01:00
Mount the mandatory config files separately in docker-compose, since it's including the whole /app from host and therefore the copies made in Dockerfile aren't available.
This commit is contained in:
parent
85e104006c
commit
869bf2a9fd
2 changed files with 6 additions and 2 deletions
|
|
@ -13,7 +13,9 @@ services:
|
|||
DATABASE_USERNAME: root
|
||||
DATABASE_PASSWORD_EMPTY: 1
|
||||
volumes:
|
||||
- ${VOLUME:-.:/app}:Z
|
||||
- ${VOLUME:-.}:/app:Z
|
||||
- ${VOLUME:-.}/config/database.docker.yml:/app/config/database.yml:Z
|
||||
- ${VOLUME:-.}/config/site.docker.yml:/app/config/site.yml:Z
|
||||
ports:
|
||||
- 3000:3000
|
||||
depends_on:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue