This repository has been archived by the owner on May 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.yml
65 lines (58 loc) · 1.57 KB
/
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
---
version: '3.2'
services:
varnish:
build:
context: ./varnish
dockerfile: Dockerfile
image: varnish
volumes:
- type: bind
source: ./config/varnish.vcl
target: /etc/varnish/default.vcl
haproxy:
image: haproxy:alpine
volumes:
- type: bind
source: ./config/haproxy.cfg
target: /usr/local/etc/haproxy/haproxy.cfg
ports:
- "8080:80"
- "9443:443"
- "8888:8080"
team-a-service:
image: nginx:latest
volumes:
- type: bind
source: ./nginx-content/nginx.conf
target: /etc/nginx/conf.d/default.conf
- type: bind
source: ./nginx-content/team-a-page.html
target: /usr/share/nginx/html/index.html
team-a-secret-service:
image: nginx:latest
volumes:
- type: bind
source: ./nginx-content/nginx.conf
target: /etc/nginx/conf.d/default.conf
- type: bind
source: ./nginx-content/team-a-secret-page.html
target: /usr/share/nginx/html/index.html
team-b-service:
image: nginx:latest
volumes:
- type: bind
source: ./nginx-content/nginx.conf
target: /etc/nginx/conf.d/default.conf
- type: bind
source: ./nginx-content/team-b-page.html
target: /usr/share/nginx/html/index.html
team-c-service:
image: nginx:latest
volumes:
- type: bind
source: ./nginx-content/nginx.conf
target: /etc/nginx/conf.d/default.conf
- type: bind
source: ./nginx-content/team-c-page.html
target: /usr/share/nginx/html/index.html