-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (32 loc) · 829 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
34 lines (32 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
version: "3"
services:
dnsmasq:
restart: always
image: jpillora/dnsmasq:latest
ports:
- 53:53/udp
volumes:
- ./dnsmasq/dnsmasq.conf:/etc/dnsmasq.conf:ro
traefik:
restart: always
image: traefik:latest
ports:
- "80:80"
- "443:443"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./certs:/certs:ro
- ./traefik/traefik.yml:/traefik.yml:ro
- ./traefik/dynamic.yml:/dynamic.yml:ro
depends_on:
- dnsmasq
labels:
- traefik.enable=true
- traefik.http.routers.traefik.entrypoints=http,https
- traefik.http.routers.traefik.rule=Host(`traefik.this.test`)
- traefik.http.routers.traefik.tls=true
- traefik.http.routers.traefik.service=api@internal
networks:
default:
external:
name: docker