fixes, orval, downloader functioning again
This commit is contained in:
@@ -20,7 +20,7 @@ services:
|
||||
python manage.py migrate --noinput &&
|
||||
python manage.py collectstatic --clear --noinput &&
|
||||
python manage.py seed_app_config &&
|
||||
gunicorn -k uvicorn.workers.UvicornWorker trznice.asgi:application --bind 0.0.0.0:8000"
|
||||
gunicorn -k uvicorn.workers.UvicornWorker vontor_cz.asgi:application --bind 0.0.0.0:8000 --timeout 600 --graceful-timeout 30 --workers 2"
|
||||
ports:
|
||||
- "8000:8000"
|
||||
|
||||
@@ -56,7 +56,7 @@ services:
|
||||
build:
|
||||
context: ./backend
|
||||
dockerfile: Dockerfile
|
||||
command: celery -A trznice worker --loglevel=info
|
||||
command: celery -A vontor_cz worker --loglevel=info
|
||||
restart: always
|
||||
env_file:
|
||||
- ./backend/.env
|
||||
@@ -74,7 +74,7 @@ services:
|
||||
build:
|
||||
context: ./backend
|
||||
dockerfile: Dockerfile
|
||||
command: celery -A trznice beat --loglevel=info
|
||||
command: celery -A vontor_cz beat --loglevel=info
|
||||
restart: always
|
||||
env_file:
|
||||
- ./backend/.env
|
||||
@@ -117,7 +117,27 @@ networks:
|
||||
|
||||
volumes:
|
||||
redis-data:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: none
|
||||
o: bind
|
||||
device: ./volumes/redis
|
||||
db-data:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: none
|
||||
o: bind
|
||||
device: ./volumes/postgres
|
||||
static-data:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: none
|
||||
o: bind
|
||||
device: ./volumes/static
|
||||
media-data:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: none
|
||||
o: bind
|
||||
device: ./volumes/media
|
||||
|
||||
|
||||
Reference in New Issue
Block a user