-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
51 lines (47 loc) · 998 Bytes
/
docker-compose.yml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
version: '2'
services:
debugheaders:
build:
context: ./debugheaders
dockerfile: Dockerfile
image: debugheaders
container_name: debugheaders
ports:
- "8000:8000"
labels:
- "traefik.frontend.rule=Host:debugheaders.docker.local"
- "traefik.backend=debugheaders"
- "traefik.enable=true"
- "traefik.port=8000"
traefik:
build:
context: ./traefik
dockerfile: Dockerfile
image: traefik_proxy
container_name: traefik
ports:
- "8080:8080"
- "8090:8090"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
nginx:
build:
context: ./nginx
dockerfile: Dockerfile_nginx
image: nginx_proxy
container_name: nginx
ports:
- "8081:80"
links:
- debugheaders
haproxy:
build:
context: ./haproxy
dockerfile: Dockerfile
image: haproxy_proxy
container_name: haproxy
ports:
- "8082:80"
links:
- debugheaders