Files
nex/docker-compose.yml
2025-12-08 09:08:43 +01:00

27 lines
914 B
YAML

services:
nex:
build:
context: /opt/apps/nex
dockerfile: Dockerfile
container_name: nex
restart: unless-stopped
networks:
- traefik_net
labels:
- "traefik.enable=true"
- "traefik.http.routers.nex.rule=Host(`nex.appmodel.nl`)"
- "traefik.http.routers.nex.entrypoints=websecure"
- "traefik.http.routers.nex.tls=true"
- "traefik.http.services.nex.loadbalancer.server.port=80"
- "traefik.http.routers.nex-http.rule=Host(`nex.appmodel.nl`)"
- "traefik.http.routers.nex-http.entrypoints=web"
- "traefik.http.routers.nex-http.middlewares=nex-https"
- "traefik.http.middlewares.nex-https.redirectscheme.scheme=https"
- "traefik.http.routers.auction.tls.certresolver=letsencrypt",
- "traefik.http.middlewares.nex-https.redirectscheme.permanent=true"
networks:
traefik_net:
external: true
name: traefik_net