diff --git a/backend/docker/docker-compose-local.yaml b/backend/docker/docker-compose-local.yaml index d4cb82e..9111a53 100644 --- a/backend/docker/docker-compose-local.yaml +++ b/backend/docker/docker-compose-local.yaml @@ -6,7 +6,7 @@ volumes: services: mem: image: redis:alpine - restart: always + restart: unless-stopped ports: - 6379:6379 tmpfs: @@ -14,7 +14,7 @@ services: db: image: mysql:8.0 - restart: always + restart: unless-stopped environment: MYSQL_ROOT_PASSWORD: root MYSQL_DATABASE: maple diff --git a/docker-compose.yaml b/docker-compose.yaml index d9a1173..b90ac47 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -9,7 +9,7 @@ volumes: services: fe: image: nginx:alpine - restart: always + restart: unless-stopped volumes: - ./frontend/dist:/usr/share/nginx/html configs: @@ -25,7 +25,7 @@ services: be: image: openjdk:21-jdk-slim - restart: always + restart: unless-stopped environment: SPRING_PROFILES_ACTIVE: prod JASYPT_PASSWORD: ${JASYPT_PASSWORD} @@ -46,13 +46,13 @@ services: mem: image: redis:alpine - restart: always + restart: unless-stopped tmpfs: - /data db: image: mysql:8.0 - restart: always + restart: unless-stopped environment: MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD} MYSQL_DATABASE: maple