[rewrite] Disabled restart for docker-compose

This commit is contained in:
Thastertyn 2025-03-11 08:29:38 +01:00
parent 272e765ca8
commit 543aadf521

View File

@ -2,7 +2,7 @@ services:
db: db:
image: postgres:12 image: postgres:12
restart: always restart: no
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"] test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"]
interval: 10s interval: 10s
@ -21,7 +21,7 @@ services:
adminer: adminer:
image: adminer image: adminer
restart: always restart: no
networks: networks:
- default - default
depends_on: depends_on:
@ -31,7 +31,7 @@ services:
backend: backend:
image: '${DOCKER_IMAGE_BACKEND?Variable not set}:${TAG-latest}' image: '${DOCKER_IMAGE_BACKEND?Variable not set}:${TAG-latest}'
restart: always restart: no
networks: networks:
- default - default
depends_on: depends_on: