diff --git a/docker-compose.yml b/docker-compose.yml index bbfe518..d50c655 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ services: db: image: postgres:12 - restart: always + restart: no healthcheck: test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"] interval: 10s @@ -21,7 +21,7 @@ services: adminer: image: adminer - restart: always + restart: no networks: - default depends_on: @@ -31,7 +31,7 @@ services: backend: image: '${DOCKER_IMAGE_BACKEND?Variable not set}:${TAG-latest}' - restart: always + restart: no networks: - default depends_on: @@ -65,4 +65,4 @@ services: context: ./backend volumes: - app-db-data: \ No newline at end of file + app-db-data: