25 lines
527 B
YAML
25 lines
527 B
YAML
|
version: '2'
|
||
|
services:
|
||
|
proxy:
|
||
|
image: traefik
|
||
|
restart: always
|
||
|
networks:
|
||
|
- "webgateway"
|
||
|
ports:
|
||
|
- "80:80"
|
||
|
- "443:443"
|
||
|
- "8080:8080"
|
||
|
volumes:
|
||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||
|
- ./traefik.toml:/traefik.toml
|
||
|
- /containers/traefik/acme:/etc/traefik/acme
|
||
|
- /containers/traefik/log:/etc/traefik/log
|
||
|
environment:
|
||
|
- "DO_AUTH_TOKEN=3fd4d00a9c421f4e029a5f9221b7f558a0d6031002803be27d7310a5cc30c990"
|
||
|
|
||
|
networks:
|
||
|
webgateway:
|
||
|
driver: bridge
|
||
|
|
||
|
|