Move backend migration to abra.sh command
This commit is contained in:
11
compose.yml
11
compose.yml
@ -99,7 +99,6 @@ services:
|
||||
- backend
|
||||
environment:
|
||||
<<: [*common-env, *postgres-env, *yprovider-env]
|
||||
DJANGO_CONFIGURATION: Production
|
||||
healthcheck:
|
||||
test: ["CMD", "python", "manage.py", "check"]
|
||||
interval: 15s
|
||||
@ -107,15 +106,6 @@ services:
|
||||
retries: 20
|
||||
start_period: 10s
|
||||
|
||||
# backend-migration:
|
||||
# image: lasuite/impress-backend:v3.3.0
|
||||
# networks:
|
||||
# - backend
|
||||
# command: ["python", "manage.py", "migrate", "--noinput"]
|
||||
# environment:
|
||||
# <<: [*common-env, *postgres-env, *yprovider-env]
|
||||
# DJANGO_CONFIGURATION: Production
|
||||
|
||||
celery:
|
||||
image: lasuite/impress-backend:v3.3.0
|
||||
networks:
|
||||
@ -123,7 +113,6 @@ services:
|
||||
command: ["celery", "-A", "impress.celery_app", "worker", "-l", "INFO"]
|
||||
environment:
|
||||
<<: [*common-env, *postgres-env, *yprovider-env]
|
||||
DJANGO_CONFIGURATION: Production
|
||||
|
||||
y-provider:
|
||||
image: lasuite/impress-y-provider:v3.3.0
|
||||
|
||||
Reference in New Issue
Block a user