mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
fix: update healthcheck URL to use the correct port for the app service
This commit is contained in:
parent
146c554c1f
commit
450b0cff29
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue