Split cadvisor and game servers into separate stacks.
This commit is contained in:
parent
e7d78d0f25
commit
aa3daa61e4
29
cadvisor.yml
Normal file
29
cadvisor.yml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
# 8010: cadvisor
|
||||||
|
# 8015: prometheus
|
||||||
|
|
||||||
|
version: '2.4'
|
||||||
|
services:
|
||||||
|
# cadvisor
|
||||||
|
cadvisor:
|
||||||
|
image: google/cadvisor
|
||||||
|
restart: on-failure
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:8010:8080"
|
||||||
|
volumes:
|
||||||
|
- "/:/rootfs:ro"
|
||||||
|
- "/var/run:/var/run:rw"
|
||||||
|
- "/sys:/sys:ro"
|
||||||
|
- "/var/lib/docker/:/var/lib/docker:ro"
|
||||||
|
- "/dev/disk/:/dev/disk:ro"
|
||||||
|
|
||||||
|
# prometheus
|
||||||
|
prometheus:
|
||||||
|
image: prom/prometheus
|
||||||
|
restart: on-failure
|
||||||
|
links:
|
||||||
|
- cadvisor
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:8015:9090"
|
||||||
|
volumes:
|
||||||
|
- "./prometheus/config:/etc/prometheus"
|
||||||
|
- "./prometheus/data:/prometheus"
|
@ -8,12 +8,10 @@
|
|||||||
# 8007: phpmyadmin
|
# 8007: phpmyadmin
|
||||||
# 8008: matrix
|
# 8008: matrix
|
||||||
# 8009: mediagoblin
|
# 8009: mediagoblin
|
||||||
# 8010: cadvisor
|
|
||||||
# 8011: gitea
|
# 8011: gitea
|
||||||
# 8012: pleroma
|
# 8012: pleroma
|
||||||
# 8013: peertube
|
# 8013: peertube
|
||||||
# 8014: parsoid
|
# 8014: parsoid
|
||||||
# 8015: prometheus
|
|
||||||
# 8016: woodpecker
|
# 8016: woodpecker
|
||||||
# 8017: lemmy
|
# 8017: lemmy
|
||||||
# 8018: lemmy-ui
|
# 8018: lemmy-ui
|
||||||
@ -24,15 +22,6 @@
|
|||||||
|
|
||||||
version: '2.4'
|
version: '2.4'
|
||||||
services:
|
services:
|
||||||
# openarena
|
|
||||||
openarena:
|
|
||||||
image: sago007/openarena
|
|
||||||
restart: on-failure
|
|
||||||
volumes:
|
|
||||||
- ./openarena:/data
|
|
||||||
ports:
|
|
||||||
- "27960:27960/udp"
|
|
||||||
|
|
||||||
# malacoda.monarch-pass.net/wiki
|
# malacoda.monarch-pass.net/wiki
|
||||||
malacodapedia:
|
malacodapedia:
|
||||||
#image: mediawiki
|
#image: mediawiki
|
||||||
@ -179,31 +168,6 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
PMA_ABSOLUTE_URI: "https://phpmyadmin.monarch-pass.net/"
|
PMA_ABSOLUTE_URI: "https://phpmyadmin.monarch-pass.net/"
|
||||||
|
|
||||||
# cadvisor
|
|
||||||
cadvisor:
|
|
||||||
image: google/cadvisor
|
|
||||||
restart: on-failure
|
|
||||||
ports:
|
|
||||||
- "127.0.0.1:8010:8080"
|
|
||||||
volumes:
|
|
||||||
- "/:/rootfs:ro"
|
|
||||||
- "/var/run:/var/run:rw"
|
|
||||||
- "/sys:/sys:ro"
|
|
||||||
- "/var/lib/docker/:/var/lib/docker:ro"
|
|
||||||
- "/dev/disk/:/dev/disk:ro"
|
|
||||||
|
|
||||||
# prometheus
|
|
||||||
prometheus:
|
|
||||||
image: prom/prometheus
|
|
||||||
restart: on-failure
|
|
||||||
links:
|
|
||||||
- cadvisor
|
|
||||||
ports:
|
|
||||||
- "127.0.0.1:8015:9090"
|
|
||||||
volumes:
|
|
||||||
- "./prometheus/config:/etc/prometheus"
|
|
||||||
- "./prometheus/data:/prometheus"
|
|
||||||
|
|
||||||
# parsoid
|
# parsoid
|
||||||
parsoid:
|
parsoid:
|
||||||
image: thenets/parsoid:0.10
|
image: thenets/parsoid:0.10
|
||||||
@ -247,18 +211,6 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./postgresql:/var/lib/postgresql/data
|
- ./postgresql:/var/lib/postgresql/data
|
||||||
|
|
||||||
# minecraft
|
|
||||||
minecraft:
|
|
||||||
image: itzg/minecraft-server
|
|
||||||
restart: on-failure
|
|
||||||
ports:
|
|
||||||
- 25565:25565
|
|
||||||
environment:
|
|
||||||
VERSION: "1.12.2"
|
|
||||||
EULA: "TRUE"
|
|
||||||
volumes:
|
|
||||||
- ./minecraft:/data
|
|
||||||
|
|
||||||
# irc
|
# irc
|
||||||
irc:
|
irc:
|
||||||
image: linuxserver/ngircd
|
image: linuxserver/ngircd
|
||||||
|
22
games.yml
Normal file
22
games.yml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
version: '2.4'
|
||||||
|
services:
|
||||||
|
# openarena
|
||||||
|
openarena:
|
||||||
|
image: sago007/openarena
|
||||||
|
restart: on-failure
|
||||||
|
volumes:
|
||||||
|
- ./openarena:/data
|
||||||
|
ports:
|
||||||
|
- "27960:27960/udp"
|
||||||
|
|
||||||
|
# minecraft
|
||||||
|
minecraft:
|
||||||
|
image: itzg/minecraft-server
|
||||||
|
restart: on-failure
|
||||||
|
ports:
|
||||||
|
- 25565:25565
|
||||||
|
environment:
|
||||||
|
VERSION: "1.12.2"
|
||||||
|
EULA: "TRUE"
|
||||||
|
volumes:
|
||||||
|
- ./minecraft:/data
|
Loading…
x
Reference in New Issue
Block a user