Fix app data path.

This commit is contained in:
Stavros Iliopoulos 2023-08-13 12:39:48 +00:00
parent 102dd559f3
commit 98671817ee

View File

@ -4,8 +4,8 @@ services:
container_name: tandoor
image: ghcr.io/tandoorrecipes/recipes:1.5.4
volumes:
- ${APP_DATA_DIR}/staticfiles:/opt/recipes/staticfiles
- ${APP_DATA_DIR}/mediafiles:/opt/recipes/mediafiles
- ${APP_DATA_DIR}/data/staticfiles:/opt/recipes/staticfiles
- ${APP_DATA_DIR}/data/mediafiles:/opt/recipes/mediafiles
ports:
- ${APP_PORT}:8080
environment:
@ -50,7 +50,7 @@ services:
image: postgres:15-alpine
container_name: tandoor_db
volumes:
- ${APP_DATA_DIR}/postgresql:/var/lib/postgresql/data
- ${APP_DATA_DIR}/data/postgresql:/var/lib/postgresql/data
environment:
- POSTGRES_PORT=5432
- POSTGRES_USER=djangodb