-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
50 lines (44 loc) · 1000 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
version: '2'
services:
webpack:
build: node
environment:
- VIRTUAL_HOST=https://www.127.0.0.1.xip.io,www.127.0.0.1.xip.io
expose:
- 80
volumes:
- ./node/:/tmp/node
- ./cpmteam.github.io/:/workspace
- /var/lib/apt/lists/
- /workspace/node_modules
- /node-cache
working_dir: /workspace
command: /tmp/node/docker-up-image.sh
couchdb:
build: cpm-registry-couchapp
ports:
- 5984:5984
environment:
- VIRTUAL_HOST=https://registry.127.0.0.1.xip.io,registry.127.0.0.1.xip.io
- COUCHDB_USER=admin
- COUCHDB_PASSWORD=admin
volumes:
- couchdb-data:/data
haproxy:
# image: dockercloud/haproxy
build: haproxy
links:
- webpack
- couchdb
environment:
- CERT_FOLDER=/certs/
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- certs:/certs/
ports:
- 80:80
- 443:443
- 1936:1936
volumes:
couchdb-data:
certs: