initial commit

This commit is contained in:
2019-10-14 20:04:34 +01:00
commit 508cc197f7
7 changed files with 236 additions and 0 deletions

27
traefik.yml Normal file
View File

@@ -0,0 +1,27 @@
version: '3'
services:
traefik:
container_name: traefik
restart: always
ports:
- '8080:8080'
- '80:80'
- '443:443'
volumes:
- './files/traefik.toml:/etc/traefik/traefik.toml'
- './files/acme.json:/acme.json'
- '/var/run/docker.sock:/var/run/docker.sock'
image: traefik:v1.7.16
labels:
- "traefik.frontend.rule=Host:traefik.personal.domain"
- "traefik.docker.network=traefik"
- "traefik.enable=true"
- "traefik.port=8080"
- "traefik.protocol=http"
networks:
traefik:
networks:
traefik:
external: true