chore: update port to 4000 in tests and compose
This commit is contained in:
+3
-3
@@ -10,7 +10,7 @@ services:
|
||||
- STORAGE_CHANNEL_ID=${STORAGE_CHANNEL_ID}
|
||||
- BASE_URL=${BASE_URL}
|
||||
- DATABASE_URL=${DATABASE_URL}
|
||||
- PORT=3000
|
||||
- PORT=4000
|
||||
- NODE_ENV=production
|
||||
- LOG_LEVEL=info
|
||||
- TRUST_PROXY=true
|
||||
@@ -46,7 +46,7 @@ services:
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD-SHELL
|
||||
- "bun -e \"fetch('http://localhost:3000/health').then(r => r.status === 200 ? process.exit(0) : process.exit(1))\""
|
||||
- "bun -e \"fetch('http://localhost:4000/health').then(r => r.status === 200 ? process.exit(0) : process.exit(1))\""
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
@@ -59,7 +59,7 @@ services:
|
||||
- "traefik.http.routers.filedrop.entrypoints=websecure"
|
||||
- "traefik.http.routers.filedrop.tls=true"
|
||||
- "traefik.http.routers.filedrop.tls.certresolver=cloudflare"
|
||||
- "traefik.http.services.filedrop.loadbalancer.server.port=3000"
|
||||
- "traefik.http.services.filedrop.loadbalancer.server.port=4000"
|
||||
- "traefik.http.middlewares.filedrop-rl.ratelimit.average=300"
|
||||
- "traefik.http.middlewares.filedrop-rl.ratelimit.burst=100"
|
||||
- "traefik.http.middlewares.filedrop-rl.ratelimit.period=1m"
|
||||
|
||||
Reference in New Issue
Block a user