Jafner.net/archive/self-hosting/traefik/docker-compose.yml
Joey Hafner 6086222503
Reorganize root level of repo.
- Move homelab, Jafner.dev (now called blog) to root.
- Rename "archived projects" -> "archive"
- Rename "active projects" -> "projects"
- Rename "jafner-homebrew" -> "5ehomebrew"
- Rename "docker-llm-amd" -> "local-ai"
2024-07-16 12:17:55 -07:00

25 lines
812 B
YAML

version: '2'
services:
traefik:
image: traefik:v1.7.12-alpine
container_name: traefik
command: --configFile=/traefik.toml
restart: unless-stopped
networks:
- web
ports:
- "80:80"
- "443:443"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./traefik.toml:/traefik.toml
- ./acme.json:/acme.json
labels:
- "traefik.enable=true"
- "traefik.frontend.rule=Host:traefik.jafner.net"
- "traefik.port=8080"
networks:
web:
external: true