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
|
- POSTGRES_PASSWORD=supersecretpassword11
|
||||||
waffle:
|
waffle:
|
||||||
build: .
|
build: .
|
||||||
|
volumes:
|
||||||
|
- ./tmp/uploads:/var/lib/waffle/uploads
|
||||||
ports:
|
ports:
|
||||||
- "5002:3000"
|
- "5002:3000"
|
||||||
environment:
|
environment:
|
||||||
|
@ -17,5 +19,7 @@ services:
|
||||||
- PGHOST=waffle-postgres
|
- PGHOST=waffle-postgres
|
||||||
- PGPASSWORD=supersecretpassword11
|
- PGPASSWORD=supersecretpassword11
|
||||||
- PGDATABASE=waffle
|
- PGDATABASE=waffle
|
||||||
|
- AVATAR_UPLOADS_DIR=/var/lib/waffle/uploads
|
||||||
|
- ATTACHMENT_UPLOADS_DIR=/var/lib/waffle/uploads
|
||||||
depends_on:
|
depends_on:
|
||||||
- waffle-postgres
|
- waffle-postgres
|
||||||
|
|
Loading…
Reference in a new issue