Added deployment strategie for garde-studios.de

This commit is contained in:
DerGrumpf 2024-11-16 22:57:04 +01:00
parent 101a598f6f
commit 18003e7813
10 changed files with 29 additions and 7 deletions

View File

@ -0,0 +1,4 @@
include:
- ../proxy/compose.yml
- ../fallback/compose.yml
- ../monitoring/compose.yml

View File

@ -44,10 +44,12 @@ services:
SYNC_SKIP_NEWER_IN_DESTINATION: false SYNC_SKIP_NEWER_IN_DESTINATION: false
ports: ports:
- 30000:25565 # Connection Port - 30000:25565 # Connection Port
- 9000:25585 # Fabric Exporter - 9100:9100 # unified Exporter
volumes: volumes:
- ./data:/data - ./data:/data
- ./mods.txt:/extras/mods.txt:ro - ./mods.txt:/extras/mods.txt:ro
- ./ops.json:/extras/ops.json:ro
- ./whitelist.json:/extras/whitelist.json:ro
- ./config:/config - ./config:/config
networks: {} networks: {}

View File

@ -1,4 +1,4 @@
hackOnlineMode = true hackOnlineMode = true
hackEarlySend = false hackEarlySend = false
hackMessageChain = true hackMessageChain = true
secret = "CMhgx3vF17Nu" secret = "bGAJSlLeA4Wf"

View File

@ -1,3 +0,0 @@
server-port: 25585
update-interval: 1000
use-spark: true

View File

@ -12,6 +12,7 @@ https://cdn.modrinth.com/data/8dI2tmqs/versions/AQhF7kvw/FabricProxy-Lite-2.9.0.
# Monitoring # Monitoring
https://cdn.modrinth.com/data/p1ewR5kV/versions/xwRVtqbA/unifiedmetrics-platform-fabric-0.3.8.jar https://cdn.modrinth.com/data/p1ewR5kV/versions/xwRVtqbA/unifiedmetrics-platform-fabric-0.3.8.jar
https://cdn.modrinth.com/data/Ha28R6CL/versions/B0fZidZi/fabric-language-kotlin-1.12.3%2Bkotlin.2.0.21.jar
# World Edit # World Edit
https://cdn.modrinth.com/data/1u6JkXh5/versions/vBzkrSYP/worldedit-mod-7.3.6.jar https://cdn.modrinth.com/data/1u6JkXh5/versions/vBzkrSYP/worldedit-mod-7.3.6.jar

View File

@ -1,4 +1,4 @@
hackOnlineMode = true hackOnlineMode = true
hackEarlySend = false hackEarlySend = false
hackMessageChain = true hackMessageChain = true
secret = "CMhgx3vF17Nu" secret = "bGAJSlLeA4Wf"

View File

@ -0,0 +1,3 @@
include:
- grafana/compose.yml
- prometheus/compose.yml

View File

@ -0,0 +1,13 @@
services:
grafana:
image: grafana/grafana-oss
container_name: grafana
restart: unless-stopped
user: '1000'
volumes:
- grafana-storage:/var/lib/grafana
ports:
- 3000:3000
volumes:
grafana-storage: {}

View File

@ -1,6 +1,8 @@
services: services:
prometheus: prometheus:
image: prom/prometheus image: prom/prometheus
container_name: prometheus
restart: unless-stopped
volumes: volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml - ./prometheus.yml:/etc/prometheus/prometheus.yml
ports: ports:

View File

@ -11,7 +11,7 @@ scrape_configs:
# Server Scrapers # Server Scrapers
- job_name: 'mc-server' - job_name: 'mc-server'
static_configs: static_configs:
- targets: ['localhost:9100'] - targets: ['100.113.167.128:9100']
labels: labels:
instance: 'Fallback' instance: 'Fallback'
- targets: ['100.80.35.55:9100'] - targets: ['100.80.35.55:9100']