-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
41 lines (38 loc) · 1.06 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
services:
app:
profiles: ["app"]
env_file: ".env"
image: appliedoverinternet/app
build:
dockerfile: Dockerfile
ports:
- 5000:5000
volumes:
- ./textures:/app/textures
influxdb:
env_file: ".env"
image: influxdb
ports:
- 8086:8086
environment:
- DOCKER_INFLUXDB_INIT_MODE=setup
- DOCKER_INFLUXDB_INIT_USERNAME=admin
- DOCKER_INFLUXDB_INIT_PASSWORD=${DB_TOKEN}
- DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=${DB_TOKEN}
- DOCKER_INFLUXDB_INIT_ORG=test
- DOCKER_INFLUXDB_INIT_BUCKET=test
volumes:
- influxdb_data:/var/lib/influxdb2
grafana:
env_file: ".env"
image: grafana/grafana
ports:
- 3000:3000
environment:
- GF_SECURITY_ADMIN_PASSWORD=${GRAFANA_PASSWORD}
volumes:
- ./mounts/etc/grafana/:/etc/grafana
- grafana_data:/var/lib/grafana
volumes:
influxdb_data:
grafana_data: