-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yml
69 lines (69 loc) · 1.76 KB
/
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
services:
fill-station:
image: ghcr.io/cornellrocketryteam/fill-station:latest
networks:
- ground-network
webserver:
image: ghcr.io/cornellrocketryteam/ground-server:latest
networks:
- ground-network
depends_on:
- influxdb
ports:
- 80:80
fill-telem-proxy:
image: ghcr.io/cornellrocketryteam/fill-telem-proxy:latest
depends_on:
- influxdb
- fill-station
networks:
- ground-network
env_file:
- ./.env.fill-telem-proxy
websocket-proxy:
image: ghcr.io/cornellrocketryteam/websocket-proxy:latest
depends_on:
- influxdb
- webserver
networks:
- ground-network
ports:
- 8080:8080
env_file:
- ./.env.websocket-proxy
influxdb:
image: influxdb:2.7.10
networks:
- ground-network
ports:
- 8086:8086
environment:
DOCKER_INFLUXDB_INIT_MODE: setup
DOCKER_INFLUXDB_INIT_USERNAME_FILE: /run/secrets/influxdb-admin-username
DOCKER_INFLUXDB_INIT_PASSWORD_FILE: /run/secrets/influxdb-admin-password
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN_FILE: /run/secrets/influxdb-admin-token
DOCKER_INFLUXDB_INIT_ORG: crt
DOCKER_INFLUXDB_INIT_BUCKET: telemetry
secrets:
- influxdb-admin-username
- influxdb-admin-password
- influxdb-admin-token
volumes:
- type: volume
source: influxdb-data
target: /var/lib/influxdb2
- type: volume
source: influxdb-config
target: /etc/influxdb2
secrets:
influxdb-admin-username:
file: ./.env.influxdb-admin-username
influxdb-admin-password:
file: ./.env.influxdb-admin-password
influxdb-admin-token:
file: ./.env.influxdb-admin-token
volumes:
influxdb-data:
influxdb-config:
networks:
ground-network: