-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
122 lines (116 loc) · 3.2 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
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
services:
caddy:
image: caddy
container_name: caddy
environment:
- RICARDO_BACKEND_DOMAIN=${RICARDO_BACKEND_DOMAIN}
ports:
- 80:80
- 443:443
- 443:443/udp
volumes:
- ./volumes/caddy/Caddyfile:/etc/caddy/Caddyfile:ro
- ./volumes/caddy/data/:/data/
- ./volumes/caddy/config/:/config/
- ./volumes/caddy/index.html:/www/html/index.html
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: 10m
max-file: 3
grafana:
build:
context: ./submodules/grafana
container_name: grafana
user: "${UID}:${GID}"
environment:
- GF_PANELS_DISABLE_SANITIZE_HTML=TRUE
- GF_DASHBOARDS_MIN_REFRESH_INTERVAL=200ms
- GF_SECURITY_ANGULAR_SUPPORT_ENABLED=TRUE
- GF_DASHBOARDS_VERSIONS_TO_KEEP=3
ports:
- 3000:3000
volumes:
- ./volumes/grafana/grafana.db:/var/lib/grafana/grafana.db
- ./volumes/grafana/img:/usr/share/grafana/public/img/bg
- ./volumes/grafana/provisioning/dashboard-configs:/etc/grafana/provisioning/dashboards
- ./volumes/grafana/dashboards/:/var/lib/grafana/dashboards
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: 10m
max-file: 3
ricardo-backend:
build:
context: ./submodules/Ricardo-Backend
container_name: ricardo-backend
user: "${UID}:${GID}"
environment:
- RICARDO_BACKEND_DEVICE=${SERIAL_PATH}
- RICARDO_BACKEND_BAUD=1036800
ports:
- 1337:1337
- 1338:1338
volumes:
- ./volumes/ricardo-backend/config/:/ricardo-backend/Config/
- ./volumes/ricardo-backend/fakedata/:/ricardo-backend/ricardobackend/flaskinterface/emitter/data/:ro
- ./volumes/ricardo-backend/logs/:/ricardo-backend/Logs/
group_add:
- dialout
devices:
- ${SERIAL_PATH}:${SERIAL_PATH}
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: 10m
max-file: 3
ricardo-commandserver:
build:
context: ./submodules/Ricardo-CommandServer
container_name: ricardo-commandserver
user: "${UID}:${GID}"
environment:
- RICARDO_COMMANDSERVER_BACKEND_HOST=ricardo-backend
ports:
- 1339:1339
volumes:
- ./volumes/ricardo-commandserver/Commands/:/ricardo-commandserver/Commands
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: 10m
max-file: 3
ricardo-influxrelay:
build:
context: ./submodules/Ricardo-InfluxRelay
container_name: ricardo-influxrelay
user: "${UID}:${GID}"
volumes:
- ./volumes/ricardo-influxrelay/config/config.yml:/ricardo-influxrelay/config/config.yml:ro
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: 10m
max-file: 3
profiles: ['dev']
questdb:
image: questdb/questdb
container_name: questdb
environment:
- QDB_PG_READONLY_USER_ENABLED=true
volumes:
- ./volumes/questdb/:/var/lib/questdb/
ports:
- 9001:9000
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: 10m
max-file: 3
profiles: ['dev']