Browse Source

Split cadvisor and game servers into separate stacks.

master
Adrian Malacoda 5 months ago
parent
commit
aa3daa61e4
  1. 29
      cadvisor.yml
  2. 48
      docker-compose.yml
  3. 22
      games.yml

29
cadvisor.yml

@ -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"

48
docker-compose.yml

@ -8,12 +8,10 @@
# 8007: phpmyadmin
# 8008: matrix
# 8009: mediagoblin
# 8010: cadvisor
# 8011: gitea
# 8012: pleroma
# 8013: peertube
# 8014: parsoid
# 8015: prometheus
# 8016: woodpecker
# 8017: lemmy
# 8018: lemmy-ui
@ -24,15 +22,6 @@
version: '2.4'
services:
# openarena
openarena:
image: sago007/openarena
restart: on-failure
volumes:
- ./openarena:/data
ports:
- "27960:27960/udp"
# malacoda.monarch-pass.net/wiki
malacodapedia:
#image: mediawiki
@ -179,31 +168,6 @@ services:
environment:
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:
image: thenets/parsoid:0.10
@ -247,18 +211,6 @@ services:
volumes:
- ./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:
image: linuxserver/ngircd

22
games.yml

@ -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…
Cancel
Save