-
Notifications
You must be signed in to change notification settings - Fork 523
/
docker-compose.yml
45 lines (43 loc) · 1.33 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
version: "3.7"
volumes:
prometheus_data: {}
services:
bililive-go:
image: chigusa/bililive-go
restart: unless-stopped
container_name: bililive-go
volumes:
- ./Videos:/srv/bililive
- ./config.docker.yml:/etc/bililive-go/config.yml
ports:
- 8080:8080
# prometheus:
# image: quay.io/prometheus/prometheus
# restart: unless-stopped
# container_name: bililive-prom
# volumes:
# - prometheus_data:/prometheus
# - ./contrib/prometheus:/etc/prometheus
# command:
# # retention 建议大于30天
# - '--storage.tsdb.retention.time=30d'
# - '--config.file=/etc/prometheus/prometheus.yml'
# - '--storage.tsdb.path=/prometheus'
# - '--web.console.libraries=/usr/share/prometheus/console_libraries'
# - '--web.console.templates=/usr/share/prometheus/consoles'
# ports:
# - 9090:9090
#
# grafana:
# image: grafana/grafana-oss
# restart: unless-stopped
# container_name: bililive-graf
# volumes:
# - ./contrib/grafana/provisioning:/etc/grafana/provisioning
# environment:
# - GF_SECURITY_ADMIN_USER=${ADMIN_USER}
# - GF_SECURITY_ADMIN_PASSWORD=${ADMIN_PASSWORD}
# - GF_USERS_ALLOW_SIGN_UP=false
# - GF_DASHBOARDS_DEFAULT_HOME_DASHBOARD_PATH=/etc/grafana/provisioning/dashboards/bilipanel.json
# ports:
# - 3000:3000