24 lines
515 B
YAML
24 lines
515 B
YAML
version: '2'
|
|
|
|
services:
|
|
proxy:
|
|
image: traefik
|
|
command: --logLevel=INFO
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
|
- "./cert/:/cert/"
|
|
- "./config/:/etc/traefik/:ro"
|
|
labels:
|
|
- "traefik.enable=false" # set to true to expose the Monitoring & API
|
|
- "traefik.backend=proxy"
|
|
- "traefik.port=8080"
|
|
- "traefik.frontend.rule=Host: api.zom.bi"
|
|
networks:
|
|
- "web"
|
|
|
|
networks:
|
|
web:
|
|
driver: bridge
|