-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose-dev.yml
67 lines (62 loc) · 1.24 KB
/
docker-compose-dev.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
66
67
version: "3.4"
networks:
database:
webproxy:
external: true
services:
mongo:
restart: unless-stopped
image: mongo:latest
expose:
- "27017"
networks:
- database
redis:
restart: unless-stopped
image: redis:alpine
command: redis-server --appendonly yes
expose:
- "6379"
networks:
- database
iexec-market-api:
restart: unless-stopped
image: iexechub/iexec-market-api
build:
context: ./api
dockerfile: Dockerfile
ports:
- "3000:3000"
expose:
- "3000"
environment:
- DEBUG=iexec-market-api:*
- DEBUG_COLORS=true
- CHAINS=BELLECOUR
- MONGO_HOST=mongo
- REDIS_HOST=redis
- CREATE_INDEX=${CREATE_INDEX}
depends_on:
- mongo
- redis
networks:
- webproxy
- database
bellecour-watcher:
restart: unless-stopped
image: iexechub/iexec-market-watcher
build:
context: ./watcher
dockerfile: Dockerfile
environment:
- DEBUG=iexec-watcher:app
- DEBUG_COLORS=true
- CHAIN=BELLECOUR
- MONGO_HOST=mongo
- REDIS_HOST=redis
- CREATE_INDEX=${CREATE_INDEX}
depends_on:
- mongo
- redis
networks:
- database