-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
82 lines (78 loc) · 2.02 KB
/
Copy pathdocker-compose.yml
File metadata and controls
82 lines (78 loc) · 2.02 KB
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
services:
postgres:
build:
context: .
dockerfile: docker/postgres/Dockerfile
container_name: arksync-postgres
restart: unless-stopped
ports:
- "${POSTGRES_PORT:-5433}:5432"
environment:
POSTGRES_DB: arksync
POSTGRES_USER: admin
POSTGRES_PASSWORD: admin
command:
- postgres
- -c
- shared_preload_libraries=pg_partman_bgw
- -c
- pg_partman_bgw.dbname=arksync
- -c
- pg_partman_bgw.interval=3600
healthcheck:
test: ["CMD-SHELL", "pg_isready -U admin -d arksync"]
interval: 10s
timeout: 5s
retries: 5
volumes:
- postgres-data:/var/lib/postgresql/data
- ./docker/postgres/init:/docker-entrypoint-initdb.d:ro
influxdb:
image: influxdb:3.5.0-core
container_name: influxdb
user: root
ports:
- 8181:8181
volumes:
- influx-data:/var/lib/influxdb3/data
- influx-plugins:/var/lib/influxdb3/plugins
command:
- influxdb3
- serve
- --node-id=node0
- --object-store=file
- --data-dir=/var/lib/influxdb3/data
- --plugin-dir=/var/lib/influxdb3/plugins
influxdb-explorer:
image: influxdata/influxdb3-ui:1.3.0
container_name: influxdb-explorer
user: root
restart: unless-stopped
ports:
- 8888:80
- 8889:8888
environment:
SESSION_SECRET_KEY: ${SESSION_SECRET_KEY:-changeme123456789012345678901234}
DATABASE_URL: /db/sqlite.db
volumes:
- influx-explorer-db:/db:rw
- influx-explorer-config:/app-root/config:rw
command: ["--mode=admin"]
grafana:
image: grafana/grafana-enterprise:12.3.0-18209090404-boringcrypto
container_name: grafana
restart: unless-stopped
ports:
- '33000:3000'
environment:
- GF_SECURITY_ADMIN_USER=admin
- GF_SECURITY_ADMIN_PASSWORD=admin
volumes:
- grafana-data:/var/lib/grafana
volumes:
postgres-data:
influx-data:
influx-plugins:
influx-explorer-db:
influx-explorer-config:
grafana-data: