d7a68237e5
- traefik.docker.network= (defined by traefik cli) - traefik.http.routers.<routername>.middlewares=security-headers@file" (applied globally by traefik cli)
34 lines
1.0 KiB
YAML
34 lines
1.0 KiB
YAML
services:
|
|
termix:
|
|
image: ghcr.io/lukegus/termix:latest
|
|
container_name: termix
|
|
restart: unless-stopped
|
|
# ports:
|
|
# - "3331:8080"
|
|
volumes:
|
|
- data:/app/data
|
|
environment:
|
|
PORT: "8080"
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.services.termix.loadbalancer.server.port=8080"
|
|
|
|
# Prod Router
|
|
- "traefik.http.routers.termix.rule=Host(`termix.forust.xyz`)"
|
|
- "traefik.http.routers.termix.entrypoints=websecure"
|
|
- "traefik.http.routers.termix.tls=true"
|
|
# Local Router
|
|
- "traefik.http.routers.termix-local.rule=Host(`termix.workstation.internal`)"
|
|
- "traefik.http.routers.termix-local.entrypoints=websecure"
|
|
- "traefik.http.routers.termix-local.tls=true"
|
|
# Dev Router
|
|
- "traefik.http.routers.termix-dev.rule=Host(`termix.gigaforust.internal`)"
|
|
- "traefik.http.routers.termix-dev.entrypoints=websecure"
|
|
- "traefik.http.routers.termix-dev.tls=true"
|
|
networks:
|
|
- proxy
|
|
networks:
|
|
proxy:
|
|
external: true
|
|
volumes:
|
|
data: |