-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
105 lines (100 loc) 路 1.96 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
version: '3.9'
services:
rethink:
image: rethinkdb:latest
volumes:
- rethink_data:/data
ports:
- 8080:8080
- 28015:28015
- 29015:29015
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
docker_exporter_test:
depends_on:
- "server"
links:
- "server"
environment:
- PIP_INSTALL=docker,PyYAML
volumes:
- "./testing/exporter:/opt/custom_exporters"
- "./testing/config_docker.yaml:/opt/config.yaml"
- "/var/run/docker.sock:/var/run/docker.sock"
build: ./bonsai_exporter_base
restart: always
socket:
depends_on:
- "server"
- "rethink"
links:
- "rethink"
environment:
- TZ=Europe/London
- IN_DOCKER_CONTAINER=1
build: ./bonsai_socket
ports:
- 9000:9000
restart: always
frontend:
depends_on:
- "socket"
build: ./bonsai_frontend/
ports:
- 3000:3000
links:
- "socket"
- "server"
environment:
- TZ=Europe/London
restart: always
# rest_interface:
# depends_on:
# - "server"
# links:
# - "server"
# environment:
# - TZ=Europe/London
# - IN_DOCKER_CONTAINER=1
# build: ./bonsai_rest_layer
# ports:
# - 4000:4000
# restart: always
# https-localhost:
# image: konstfish/https-localhost
# volumes:
# - ~/mkcert:/certs
# ports:
# - 443:443
# - 80:80
# links:
# - frontend
# environment:
# HOST: frontend
# PORT: 3000
# restart: always
volumes:
rethink_data: