Skip to content

Commit

Permalink
Don't run migrations for now
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed Nov 20, 2024
1 parent b54ec5f commit 1e0c180
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 1e0c180

Please sign in to comment.