feat: add restart until manually stopped

This commit is contained in:
Rohit
2025-08-05 00:19:17 +05:30
parent 3fa00c8add
commit 89c7184efc

View File

@@ -1,6 +1,7 @@
services: services:
postgres: postgres:
image: postgres:13 image: postgres:13
restart: unless-stopped
environment: environment:
POSTGRES_USER: ${DB_USER} POSTGRES_USER: ${DB_USER}
POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_PASSWORD: ${DB_PASSWORD}
@@ -17,6 +18,7 @@ services:
minio: minio:
image: minio/minio image: minio/minio
restart: unless-stopped
environment: environment:
MINIO_ROOT_USER: ${MINIO_ACCESS_KEY} MINIO_ROOT_USER: ${MINIO_ACCESS_KEY}
MINIO_ROOT_PASSWORD: ${MINIO_SECRET_KEY} MINIO_ROOT_PASSWORD: ${MINIO_SECRET_KEY}
@@ -32,6 +34,7 @@ services:
#context: . #context: .
#dockerfile: server/Dockerfile #dockerfile: server/Dockerfile
image: getmaxun/maxun-backend:latest image: getmaxun/maxun-backend:latest
restart: unless-stopped
ports: ports:
- "${BACKEND_PORT:-8080}:${BACKEND_PORT:-8080}" - "${BACKEND_PORT:-8080}:${BACKEND_PORT:-8080}"
env_file: .env env_file: .env
@@ -58,6 +61,7 @@ services:
#context: . #context: .
#dockerfile: Dockerfile #dockerfile: Dockerfile
image: getmaxun/maxun-frontend:latest image: getmaxun/maxun-frontend:latest
restart: unless-stopped
ports: ports:
- "${FRONTEND_PORT:-5173}:${FRONTEND_PORT:-5173}" - "${FRONTEND_PORT:-5173}:${FRONTEND_PORT:-5173}"
env_file: .env env_file: .env