Update reactive-resume/docker-compose.yml
This commit is contained in:
@@ -26,7 +26,7 @@ services:
|
|||||||
# Optional: Set a token for authentication
|
# Optional: Set a token for authentication
|
||||||
# - TOKEN=your-secret-token
|
# - TOKEN=your-secret-token
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:3000/pressure?token=your-secret-token"]
|
test: ["CMD", "curl", "-f", "http://localhost:3006/pressure?token=your-secret-token"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 10
|
retries: 10
|
||||||
@@ -36,7 +36,7 @@ services:
|
|||||||
# image: ghcr.io/amruthpillai/reactive-resume:latest
|
# image: ghcr.io/amruthpillai/reactive-resume:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3006:3000"
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
volumes:
|
volumes:
|
||||||
@@ -48,7 +48,7 @@ services:
|
|||||||
printer:
|
printer:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:3000/api/health"]
|
test: ["CMD", "curl", "-f", "http://localhost:3006/api/health"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|||||||
Reference in New Issue
Block a user