-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
41 lines (41 loc) · 1007 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
version: '2'
services:
worker:
image: shoppinpal/dolaterio
depends_on:
- rethinkdb
- redis
- migrate
command: /worker
environment:
RETHINKDB_PORT_28015_TCP_ADDR: rethinkdb
REDIS_PORT_6379_TCP_ADDR: redis
DOCKER_CONFIG: /root/.docker
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /root/.docker/config.json:/root/.docker/config.json
api:
image: shoppinpal/dolaterio
depends_on:
- rethinkdb
- redis
- migrate
command: /api
ports:
- "7000:7000"
environment:
BINDING: 0.0.0.0
RETHINKDB_PORT_28015_TCP_ADDR: rethinkdb
REDIS_PORT_6379_TCP_ADDR: redis
migrate:
image: shoppinpal/dolaterio
environment:
RETHINKDB_PORT_28015_TCP_ADDR: rethinkdb
depends_on:
- rethinkdb
- redis
command: /migrate
redis:
image: redis:2.8
rethinkdb:
image: rethinkdb:2.3.4