initial commit
This commit is contained in:
27
traefik.yml
Normal file
27
traefik.yml
Normal 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
|
||||
Reference in New Issue
Block a user