-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
56 lines (52 loc) · 1.5 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
services:
estimenergy:
image: ghcr.io/eulemitkeule/estimenergy:latest
container_name: estimenergy
restart: unless-stopped
networks:
- estimenergy
ports:
- 12321:12321
estimenergy-postgresql:
image: postgres:15.2-alpine
container_name: estimenergy-postgresql
restart: unless-stopped
networks:
- estimenergy
ports:
- 5432:5432
environment:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=${POSTGRES_DB}
- POSTGRES_INITDB_ARGS=--encoding=UTF8
estimenergy-influxdb:
image: influxdb:2.7.0-alpine
container_name: estimenergy-influxdb
restart: unless-stopped
networks:
- estimenergy
ports:
- 8086:8086
environment:
- DOCKER_INFLUXDB_INIT_USERNAME=${INFLUXDB_USERNAME}
- DOCKER_INFLUXDB_INIT_PASSWORD=${INFLUXDB_PASSWORD}
- DOCKER_INFLUXDB_INIT_ORG=${INFLUXDB_ORG}
- DOCKER_INFLUXDB_INIT_BUCKET=${INFLUXDB_BUCKET}
- DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=${INFLUXDB_ADMIN_TOKEN}
- DOCKER_INFLUXDB_REPORTING_DISABLED=true
- DOCKER_INFLUXDB_INIT_MODE=setup
- DOCKER_INFLUXDB_HTTP_AUTH_ENABLED=true
estimenergy-prometheus:
image: prom/prometheus:v2.43.0
container_name: estimenergy-prometheus
restart: unless-stopped
networks:
- estimenergy
command:
- --storage.tsdb.retention.time=5y
- --storage.tsdb.retention.size=1TB
networks:
estimenergy:
driver: bridge
name: estimenergy