Merge pull request 'fix/docker-improvements' (#66) from saint/pyfedi:fix/docker-improvements into main

Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/66
Reviewed-by: rimu <rimu@noreply.codeberg.org>
This commit is contained in:
rimu 2024-02-27 16:03:48 +00:00
commit 5aeabcca8e
2 changed files with 4 additions and 1 deletions

View file

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

View file

@ -14,3 +14,5 @@ CACHE_REDIS_URL='redis://localhost:6379/1'
BOUNCE_HOST=''
BOUNCE_USERNAME=''
BOUNCE_PASSWORD=''
FLASK_APP=pyfedi.py