fix: update healthcheck URL to use the correct port for the app service

This commit is contained in:
WhiteX 2025-06-12 15:47:50 +03:00 committed by rzmk
parent 146c554c1f
commit 450b0cff29

View file

@ -10,6 +10,8 @@ services:
# Mount the persistent volume to the actual uploads directory (/app/api/content) # Mount the persistent volume to the actual uploads directory (/app/api/content)
volumes: volumes:
- app-uploads:/app/api/content - app-uploads:/app/api/content
ports:
- "3000"
environment: environment:
- NEXTAUTH_SECRET=${NEXTAUTH_SECRET} - NEXTAUTH_SECRET=${NEXTAUTH_SECRET}
- NEXTAUTH_URL=${NEXTAUTH_URL} - NEXTAUTH_URL=${NEXTAUTH_URL}
@ -43,7 +45,7 @@ services:
- CMD - CMD
- curl - curl
- '-f' - '-f'
- 'http://127.0.0.1:80' - 'http://127.0.0.1:3000'
interval: 2s interval: 2s
timeout: 10s timeout: 10s
retries: 10 retries: 10