-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
61 lines (61 loc) · 1.17 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
# Development configuration
version: "2"
volumes:
api_static: {}
cache_data: {}
db_data: {}
services:
api:
build: ./api
container_name: api
tty: true
environment:
- NODE_ENV=development
- DEBUG
- COUCHDB_USER
- COUCHDB_PASSWORD
depends_on:
- cache
- chrome
- db
volumes:
- api_static:/api/static
- ./api/src:/api/src
- ./api/package.json:/api/package.json
- ./api/webpack.config.js:/api/webpack.config.js
ports:
- "8000:8000" # DEV only!
command: run watch
proxy:
build: ./proxy
container_name: proxy
depends_on:
- api
volumes:
- api_static:/api/static
ports:
- "80:80"
- "443:443"
cache:
build: ./cache
container_name: cache
volumes:
- cache_data:/data
ports:
- "6379:6379" # DEV only!
db:
image: couchdb:1.6.1
container_name: db
environment:
- COUCHDB_USER
- COUCHDB_PASSWORD
volumes:
- db_data:/usr/local/var/lib/couchdb
ports:
- "5984:5984" # DEV only!
chrome:
build: ./chrome
container_name: chrome
shm_size: 256m
ports:
- "9222:9222"