initial commit - traeffik
This commit is contained in:
commit
7b3576bcbd
|
@ -0,0 +1,15 @@
|
|||
version: "3.3"
|
||||
|
||||
services:
|
||||
traefik:
|
||||
image: "traefik:v2.0.0"
|
||||
restart: unless-stopped
|
||||
command:
|
||||
- --entrypoints.web.address=:80
|
||||
- --providers.docker=true
|
||||
ports:
|
||||
- "192.168.0.97:80:80"
|
||||
- "192.168.0.97:8080:8080"
|
||||
volumes:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||
- "./traefik.yml:/etc/traefik/traefik.yml"
|
|
@ -0,0 +1,8 @@
|
|||
# Docker configuration backend
|
||||
providers:
|
||||
docker:
|
||||
defaultRule: "Host(`{{ trimPrefix `/` .Name }}.m.home`)"
|
||||
|
||||
# API and dashboard configuration
|
||||
api:
|
||||
insecure: true
|
Loading…
Reference in New Issue