diff --git a/compose.yaml b/compose.yaml index e8c66574..4e0b63e8 100644 --- a/compose.yaml +++ b/compose.yaml @@ -17,6 +17,8 @@ services: env_file: - ./.env.docker entrypoint: ./entrypoint_celery.sh + volumes: + - ./media/:/app/app/static/media/ web: build: context: . @@ -27,7 +29,6 @@ services: env_file: - ./.env.docker volumes: - - ./.env:/app/.env - ./.gunicorn.conf.py:/app/gunicorn.conf.py - ./media/:/app/app/static/media/ ports: diff --git a/env.sample b/env.sample index 49badda2..2c7b4c87 100644 --- a/env.sample +++ b/env.sample @@ -14,3 +14,5 @@ CACHE_REDIS_URL='redis://localhost:6379/1' BOUNCE_HOST='' BOUNCE_USERNAME='' BOUNCE_PASSWORD='' + +FLASK_APP=pyfedi.py