feat: comment out migration service in docker-compose.yml
This commit is contained in:
parent
c2fb43cdeb
commit
94218d8932
1 changed files with 19 additions and 19 deletions
|
|
@ -17,25 +17,25 @@ services:
|
|||
interval: 1s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
migrate:
|
||||
image: migrate/migrate:latest
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
- RECREATION_TOKEN=${RANDOM:-1}
|
||||
volumes:
|
||||
- ./apps/db/migrations:/migrations:ro
|
||||
networks:
|
||||
- dokploy-network
|
||||
command:
|
||||
[
|
||||
"-verbose",
|
||||
"-path", "/migrations",
|
||||
"-database", "postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}?sslmode=disable",
|
||||
"up"
|
||||
]
|
||||
restart: "no"
|
||||
# migrate:
|
||||
# image: migrate/migrate:latest
|
||||
# depends_on:
|
||||
# db:
|
||||
# condition: service_healthy
|
||||
# environment:
|
||||
# - RECREATION_TOKEN=${RANDOM:-1}
|
||||
# volumes:
|
||||
# - ./apps/db/migrations:/migrations:ro
|
||||
# networks:
|
||||
# - dokploy-network
|
||||
# command:
|
||||
# [
|
||||
# "-verbose",
|
||||
# "-path", "/migrations",
|
||||
# "-database", "postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}?sslmode=disable",
|
||||
# "up"
|
||||
# ]
|
||||
# restart: "no"
|
||||
|
||||
storage:
|
||||
image: "ghcr.io/marcopedone/go_fs:latest"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue