-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
58 lines (56 loc) · 1.03 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
version: '3.9'
services:
rethink:
image: rethinkdb:latest
volumes:
- rethink_data:/data
restart: always
server:
depends_on:
- "rethink"
links:
- "rethink"
environment:
- TZ=Europe/London
- IN_DOCKER_CONTAINER=1
build: ./bonsai_server
ports:
- 50051:50051
- 50052:50052
restart: always
local_exporter:
depends_on:
- "server"
links:
- "server"
volumes:
- "./testing/config_container.yaml:/opt/config.yaml"
build: ./bonsai_exporter_base
restart: always
deploy:
replicas: 3
socket:
depends_on:
- "server"
- "rethink"
links:
- "rethink"
environment:
- TZ=Europe/London
- IN_DOCKER_CONTAINER=1
build: ./bonsai_socket
restart: always
frontend:
depends_on:
- "socket"
build: ./bonsai_frontend/
ports:
- 3000:3000
links:
- "socket:socket"
- "server"
environment:
- TZ=Europe/London
restart: always
volumes:
rethink_data: