docker uploads volume
This commit is contained in:
parent
deb57d26cc
commit
b3a93a0011
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,8 @@ services:
|
|||
- POSTGRES_PASSWORD=supersecretpassword11
|
||||
waffle:
|
||||
build: .
|
||||
volumes:
|
||||
- ./tmp/uploads:/var/lib/waffle/uploads
|
||||
ports:
|
||||
- "5002:3000"
|
||||
environment:
|
||||
|
@ -17,5 +19,7 @@ services:
|
|||
- PGHOST=waffle-postgres
|
||||
- PGPASSWORD=supersecretpassword11
|
||||
- PGDATABASE=waffle
|
||||
- AVATAR_UPLOADS_DIR=/var/lib/waffle/uploads
|
||||
- ATTACHMENT_UPLOADS_DIR=/var/lib/waffle/uploads
|
||||
depends_on:
|
||||
- waffle-postgres
|
||||
|
|
Loading…
Reference in a new issue