fix: add DJANGO_SETTINGS_MODULE to all services #no_lint #no_test
All checks were successful
CI/CD Pipeline / Code Quality Checks (push) Has been skipped
CI/CD Pipeline / Run Tests (push) Has been skipped
CI/CD Pipeline / Build & Push Images (push) Successful in 15s
CI/CD Pipeline / Deploy (prod) (push) Has been skipped
CI/CD Pipeline / Deploy (dev) (push) Successful in 13s
All checks were successful
CI/CD Pipeline / Code Quality Checks (push) Has been skipped
CI/CD Pipeline / Run Tests (push) Has been skipped
CI/CD Pipeline / Build & Push Images (push) Successful in 15s
CI/CD Pipeline / Deploy (prod) (push) Has been skipped
CI/CD Pipeline / Deploy (dev) (push) Successful in 13s
Co-Authored-By: Warp <agent@warp.dev>
This commit is contained in:
@@ -6,6 +6,7 @@ services:
|
||||
networks:
|
||||
- services_default
|
||||
environment:
|
||||
- DJANGO_SETTINGS_MODULE=config.settings.production
|
||||
- DEBUG=False
|
||||
- SECRET_KEY=${SECRET_KEY}
|
||||
- POSTGRES_HOST=postgres
|
||||
@@ -34,6 +35,7 @@ services:
|
||||
networks:
|
||||
- services_default
|
||||
environment:
|
||||
- DJANGO_SETTINGS_MODULE=config.settings.production
|
||||
- DEBUG=False
|
||||
- POSTGRES_HOST=postgres
|
||||
- POSTGRES_PORT=5432
|
||||
@@ -45,7 +47,7 @@ services:
|
||||
- CELERY_RESULT_BACKEND=redis://redis:6379/0
|
||||
volumes:
|
||||
- ./logs:/app/logs
|
||||
command: celery -A config worker --loglevel=info
|
||||
command: celery -A config worker
|
||||
|
||||
celery_beat:
|
||||
image: 10.10.0.10:3000/avm/mostovik-celery:${IMAGE_TAG:-dev}
|
||||
@@ -54,6 +56,7 @@ services:
|
||||
networks:
|
||||
- services_default
|
||||
environment:
|
||||
- DJANGO_SETTINGS_MODULE=config.settings.production
|
||||
- DEBUG=False
|
||||
- POSTGRES_HOST=postgres
|
||||
- POSTGRES_PORT=5432
|
||||
@@ -65,7 +68,7 @@ services:
|
||||
- CELERY_RESULT_BACKEND=redis://redis:6379/0
|
||||
volumes:
|
||||
- ./logs:/app/logs
|
||||
command: celery -A config beat --loglevel=info --scheduler django_celery_beat.schedulers:DatabaseScheduler
|
||||
command: celery -A config beat
|
||||
|
||||
networks:
|
||||
services_default:
|
||||
|
||||
Reference in New Issue
Block a user