mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
fix: update application and Docker configuration to use port 80 for consistency
This commit is contained in:
parent
450b0cff29
commit
23d0ef5994
2 changed files with 5 additions and 3 deletions
|
|
@ -11,7 +11,7 @@ services:
|
|||
volumes:
|
||||
- app-uploads:/app/api/content
|
||||
ports:
|
||||
- "3000"
|
||||
- "80"
|
||||
environment:
|
||||
- NEXTAUTH_SECRET=${NEXTAUTH_SECRET}
|
||||
- NEXTAUTH_URL=${NEXTAUTH_URL}
|
||||
|
|
@ -45,10 +45,12 @@ services:
|
|||
- CMD
|
||||
- curl
|
||||
- '-f'
|
||||
- 'http://127.0.0.1:3000'
|
||||
- 'http://127.0.0.1:80'
|
||||
interval: 2s
|
||||
timeout: 10s
|
||||
retries: 10
|
||||
labels:
|
||||
- "traefik.http.services.${DEPLOYMENT_NAME:-learnhouse}.loadbalancer.server.port=80"
|
||||
|
||||
db:
|
||||
image: postgres:16-alpine
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue