1
0
Fork 0
host-port-ingress-proxy/truenas.yml

34 lines
1.2 KiB
YAML

version: "3.9"
networks:
traefik:
external: true
services:
truenas:
image: codeberg.org/iridium-net/lan-to-nginx:truenas
environment:
- BACKEND_ADDRESS=192.168.8.47
- BACKEND_PORT=443
- PROTOCOL=https
- MATOMO_URL=//m.nixc.us/ # Replace with your actual Matomo URL if different.
- MATOMO_SITE_ID=1 # Replace with your actual Site ID if different.
networks:
- traefik
deploy:
replicas: 1
placement:
constraints:
- node.hostname == macmini7
labels:
- "us.nixc.autodeploy=true"
- "traefik.enable=true"
- "traefik.http.routers.truenas-proxy.tls=true"
- "traefik.http.services.truenas-proxy.loadbalancer.server.port=80"
- "traefik.http.routers.truenas-proxy.rule=Host(`truenas.nixc.us`)"
- "traefik.http.routers.truenas-proxy.entrypoints=websecure"
- "traefik.http.routers.truenas-proxy.tls.certresolver=letsencryptresolver"
- "traefik.http.routers.truenas-proxy.service=truenas-proxy"
- "traefik.docker.network=traefik"
# - 'traefik.http.routers.truenas-proxy.middlewares=authelia_authelia@docker'