Remove Traefik — use simple port binding for NPM
All checks were successful
Build & Push / Build Server (push) Successful in 52s
Build & Push / Build Client (push) Successful in 39s

Stack uses Tailscale + Nginx Proxy Manager, not Traefik.
Client exposes PORT (default 3080) for NPM to proxy to.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-30 19:51:49 -04:00
parent ecaf17bf9f
commit 8b0273e70b
3 changed files with 13 additions and 14 deletions

View File

@@ -28,7 +28,7 @@ services:
environment:
DATABASE_URL: postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/ticketing
JWT_SECRET: ${JWT_SECRET}
CLIENT_URL: https://${DOMAIN}
CLIENT_URL: ${CLIENT_URL}
PORT: 3000
depends_on:
postgres:
@@ -39,23 +39,16 @@ services:
client:
image: ${REGISTRY}/josh/ticketing-client:${TAG:-latest}
restart: unless-stopped
ports:
- "${PORT:-3080}:80"
depends_on:
- server
networks:
- internal
- proxy
labels:
- "traefik.enable=true"
- "traefik.http.routers.tickets.rule=Host(`${DOMAIN}`)"
- "traefik.http.routers.tickets.entrypoints=websecure"
- "traefik.http.routers.tickets.tls.certresolver=letsencrypt"
- "traefik.http.services.tickets.loadbalancer.server.port=80"
networks:
internal:
driver: bridge
proxy:
external: true # Traefik's proxy network
volumes:
postgres_data: