-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
61 lines (58 loc) · 1.49 KB
/
docker-compose.yml
File metadata and controls
61 lines (58 loc) · 1.49 KB
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
version: '2'
services:
edge:
restart: always
image: openresty/openresty:trusty
dns:
- 8.8.8.8
links:
- akamai
ports:
- "8080:80"
- "8443:443"
privileged: false
volumes:
- ./lua/:/usr/local/openresty/nginx/conf/lua
- ./ssl/:/usr/local/openresty/nginx/conf/ssl
- ./cache/:/usr/local/openresty/nginx/cache
- ./node_modules/akamai-nginx/nginx-conf/nginx-edge.conf:/usr/local/openresty/nginx/conf/nginx.conf
akamai:
restart: always
image: openresty/openresty:trusty
dns:
- 8.8.8.8
links:
- ets:www.site.test
ports:
- 80
- 443
privileged: false
volumes:
- ./lua/:/usr/local/openresty/nginx/conf/lua
- ./ssl/:/usr/local/openresty/nginx/conf/ssl
- ./config/nginx-akamai.conf:/usr/local/openresty/nginx/conf/nginx.conf
ets:
restart: always
image: "akamaiesi/ets-docker:6.0.0.8"
environment:
- ETS_CLI_ARGS=--remote_origin www.site.test # --debug www.site.test
links:
- origin:www.site.test
logging: # suppress stdout
driver: "none"
ports:
- 80
origin:
restart: always
image: openresty/openresty:trusty
dns:
- 8.8.8.8
ports:
- 80
- 443
privileged: false
volumes:
- ./lua/:/usr/local/openresty/nginx/conf/lua
- ./ssl/:/usr/local/openresty/nginx/conf/ssl
- ./config/nginx-origin.conf:/usr/local/openresty/nginx/conf/nginx.conf
- ./esi:/usr/local/openresty/nginx/html