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
|
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"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue