diff --git a/docker-compose.yml b/docker-compose.yml index d9b5f6f9..5cf4edae 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -34,8 +34,8 @@ services: depends_on: tm-db: condition: service_healthy - tm-migration: - condition: service_completed_successfully + # tm-migration: + # condition: service_completed_successfully env_file: - tasking-manager.env restart: unless-stopped @@ -60,27 +60,27 @@ services: networks: - tm-net - tm-migration: - image: ghcr.io/hotosm/tasking-manager/backend:main - build: - context: . - entrypoint: ["python", "manage.py", "db", "upgrade"] - depends_on: - tm-db: - condition: service_healthy - env_file: - - tasking-manager.env - deploy: - replicas: ${API_REPLICAS:-1} - resources: - limits: - cpus: "1" - memory: 1500M - reservations: - cpus: "1" - memory: 100M - networks: - - tm-net + # tm-migration: + # image: ghcr.io/hotosm/tasking-manager/backend:main + # build: + # context: . + # entrypoint: ["python", "manage.py", "db", "upgrade"] + # depends_on: + # tm-db: + # condition: service_healthy + # env_file: + # - tasking-manager.env + # deploy: + # replicas: ${API_REPLICAS:-1} + # resources: + # limits: + # cpus: "1" + # memory: 1500M + # reservations: + # cpus: "1" + # memory: 100M + # networks: + # - tm-net swagger: image: swaggerapi/swagger-ui:v5.11.10