-
Notifications
You must be signed in to change notification settings - Fork 125
/
Copy pathdocker-compose.yml
41 lines (38 loc) · 1.06 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
interlock:
image: ehazlett/interlock:master
command: -D run -c /etc/interlock/config.toml
tty: true
ports:
- 8080
environment:
INTERLOCK_CONFIG: |
ListenAddr = ":8080"
DockerURL = "${SWARM_HOST}"
TLSCACert = "/var/lib/boot2docker/ca.pem"
TLSCert = "/var/lib/boot2docker/server.pem"
TLSKey = "/var/lib/boot2docker/server-key.pem"
[[Extensions]]
Name = "nginx"
ConfigPath = "/etc/nginx/nginx.conf"
PidPath = "/var/run/nginx.pid"
TemplatePath = ""
MaxConn = 1024
Port = 80
volumes:
- /var/lib/boot2docker:/var/lib/boot2docker:ro
nginx:
image: nginx:latest
entrypoint: nginx
command: -g "daemon off;" -c /etc/nginx/nginx.conf
ports:
- 80:80
labels:
- "interlock.ext.name=nginx"
app:
image: ehazlett/docker-demo:latest
hostname: test.local
ports:
- 8080
labels:
- "interlock.hostname=test"
- "interlock.domain=local"