update docker-compose dev
This commit is contained in:
parent
0f955cb039
commit
3dd2440afa
@ -30,14 +30,10 @@ services:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: 1
|
||||
count: all
|
||||
capabilities: [gpu]
|
||||
# command: bash -c "tail -f > /dev/null"
|
||||
command: bash run.sh
|
||||
# deploy:
|
||||
# mode: replicated
|
||||
# replicas: 1
|
||||
# Back-end services
|
||||
|
||||
be-ctel-sbt:
|
||||
build:
|
||||
context: cope2n-api
|
||||
@ -98,7 +94,6 @@ services:
|
||||
python manage.py migrate &&
|
||||
python manage.py compilemessages &&
|
||||
gunicorn fwd.asgi:application -k uvicorn.workers.UvicornWorker --timeout 300 -b 0.0.0.0:9000" # pre-makemigrations on prod
|
||||
# command: "sleep infinity"
|
||||
|
||||
minio:
|
||||
image: minio/minio
|
||||
@ -186,7 +181,7 @@ services:
|
||||
- ./cope2n-api:/app
|
||||
|
||||
working_dir: /app
|
||||
command: sh -c "celery -A fwd_api.celery_worker.worker worker -l INFO -c 5"
|
||||
command: sh -c "celery -A fwd worker -l INFO -c 5"
|
||||
# command: bash -c "tail -f > /dev/null"
|
||||
|
||||
# Back-end persistent
|
||||
@ -274,4 +269,4 @@ volumes:
|
||||
db_data:
|
||||
BE_static:
|
||||
BE_media:
|
||||
BE_log:
|
||||
BE_log:
|
||||
|
Loading…
Reference in New Issue
Block a user