-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml
93 lines (83 loc) · 2.31 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# ==============================================================================
version: "3.8"
# ==============================================================================
volumes:
server-data: {}
server-backups: {}
server-status: {}
server-logs: {}
# ==============================================================================
x-enabled-server: &enabled-server
environment:
SERVER_ADMINS: "76561198108936133"
volumes:
- server-data:/data
- server-backups:/backups
- server-status:/status
- server-logs:/logs
ports:
- 2456:2456/udp
- 2457:2457/udp
x-disabled-server: &disabled-server
command: noop
# ==============================================================================
services:
vanilla:
container_name: "valheim_vanilla"
image: "adaliszk/valheim-server:${VANILLA_TAG:-0.213.4}"
build: images/vanilla
command: -password "super!secret"
<<: *enabled-server
# bepinex:
# container_name: "valheim_bepinex"
# image: "adaliszk/valheim-server:${VANILLA_TAG:-bepinex}"
# build: images/bepinex
# <<: *disabled-server
# depends_on:
# - vanilla
#
# plus:
# container_name: "valheim_plus"
# image: "adaliszk/valheim-server:${VANILLA_TAG:-plus}"
# build: images/plus
# <<: *disabled-server
# depends_on:
# - vanilla
metrics-exporter:
container_name: "metrics_exporter"
image: "adaliszk/valheim-server-monitoring:${EXPORTER_TAG:-metrics}"
build: images/metrics-exporter
# command:
# - --v 1
volumes:
- ./temp/logs:/logs:ro
ports:
- 3903:3903
# docker-exporter:
# container_name: "docker_exporter"
# image: "prometheusnet/docker_exporter:latest"
# volumes:
# - //var/run/docker.sock:/var/run/docker.sock:ro
# ports:
# - 3417:9417
# prometheus:
# container_name: "prometheus"
## image: "prom/prometheus:latest"
# image: "adaliszk/valheim-server-monitoring:${PROMETHEUS_TAG:-prometheus}"
# build: images/prometheus
# links:
# - metrics-exporter
# - docker-exporter
# volumes:
# - ./temp/prometheus:/prometheus
# ports:
# - 3090:9090
# grafana:
# container_name: "grafana"
# image: "grafana/grafana:latest"
# depends_on:
# - prometheus
# volumes:
# - ./temp/grafana:/var/lib/grafana
# ports:
# - 3000:3000