mytmux.life-website/docker-compose.yml

18 lines
453 B
YAML

services:
mytmux:
build: .
image: mytmux-prod:latest
container_name: mytmux-prod
restart: always
networks:
- traefik-public
labels:
- "traefik.enable=true"
- "traefik.http.routers.mytmux.rule=Host(`mytmux.life`) || Host(`www.mytmux.life`)"
- "traefik.http.routers.mytmux.entrypoints=web"
- "traefik.http.services.mytmux.loadbalancer.server.port=80"
networks:
traefik-public:
external: true