feat: comment out migration service in docker-compose.yml

This commit is contained in:
Marco Pedone 2026-04-22 13:46:37 +02:00
parent c2fb43cdeb
commit 94218d8932

View file

@ -17,25 +17,25 @@ services:
interval: 1s interval: 1s
timeout: 5s timeout: 5s
retries: 10 retries: 10
migrate: # migrate:
image: migrate/migrate:latest # image: migrate/migrate:latest
depends_on: # depends_on:
db: # db:
condition: service_healthy # condition: service_healthy
environment: # environment:
- RECREATION_TOKEN=${RANDOM:-1} # - RECREATION_TOKEN=${RANDOM:-1}
volumes: # volumes:
- ./apps/db/migrations:/migrations:ro # - ./apps/db/migrations:/migrations:ro
networks: # networks:
- dokploy-network # - dokploy-network
command: # command:
[ # [
"-verbose", # "-verbose",
"-path", "/migrations", # "-path", "/migrations",
"-database", "postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}?sslmode=disable", # "-database", "postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}?sslmode=disable",
"up" # "up"
] # ]
restart: "no" # restart: "no"
storage: storage:
image: "ghcr.io/marcopedone/go_fs:latest" image: "ghcr.io/marcopedone/go_fs:latest"