-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
59 lines (54 loc) · 1.46 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
version: '3.1'
services:
influxdb:
image: influxdb
container_name: influxdb
ports:
- '8086:8086'
expose:
- '8086'
volumes:
- influxdb:/var/lib/influxdb
influxdb_cli:
image: influxdb
container_name: incluxdb_cli
entrypoint: influx setup --bucket ${IDB_BUCKET_NAME} -t ${IDB_TOKEN} -o ${IDB_ORG} --username=${IDB_USERNAME} --password=${IDB_PASSWORD} --host=${IDB_HOST} -f
restart: on-failure:10
depends_on:
- influxdb
grafana:
image: grafana/grafana
container_name: grafana
ports:
- '3000:3000'
depends_on:
- influxdb_cli
expose:
- '3000'
volumes:
- grafana:/var/lib/grafana
- ./deployment/grafana/provisioning/datasources:/etc/grafana/provisioning/datasources
- ./deployment/grafana/provisioning/dashboards:/etc/grafana/provisioning/dashboards
- ./deployment/grafana/dashboards:/var/lib/grafana/dashboards
environment:
- IDB_BUCKET_NAME=${IDB_BUCKET_NAME}
- IDB_TOKEN=${IDB_TOKEN}
- IDB_ORG=${IDB_ORG}
- IDB_URL=${IDB_HOST}
act-app:
image: act-app
container_name: assetto-corsa-telemetry-forwarder
build:
context: .
dockerfile: Dockerfile
environment:
- GAME_SERVER_IP_ADDRESS=${GAME_SERVER_IP_ADDRESS}
- IDB_BUCKET_NAME=${IDB_BUCKET_NAME}
- IDB_TOKEN=${IDB_TOKEN}
- IDB_ORG=${IDB_ORG}
- IDB_URL=${IDB_HOST}
depends_on:
- grafana
volumes:
influxdb:
grafana: