docker uploads volume

This commit is contained in:
hippoz 2023-08-08 21:38:17 +03:00
parent deb57d26cc
commit b3a93a0011
Signed by: hippoz
GPG key ID: 56C4E02A85F2FBED

View file

@ -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