From 5f02a56028c2563a15de562d8954429617dce4ed Mon Sep 17 00:00:00 2001 From: minster586 <43217359+minster586@users.noreply.github.com> Date: Tue, 12 Mar 2024 00:50:41 -0400 Subject: [PATCH] Update Need to backup --- icecast/docker-compose.yml | 15 +++++++++++ mc-gate/config-lite.yml | 37 ++++++++++++++++++++++++++ mc-gate/docker-compose.yml | 10 +++++++ nginx-proxy-manager/docker-compose.yml | 18 +++++++++++++ 4 files changed, 80 insertions(+) create mode 100644 icecast/docker-compose.yml create mode 100644 mc-gate/config-lite.yml create mode 100644 mc-gate/docker-compose.yml create mode 100644 nginx-proxy-manager/docker-compose.yml diff --git a/icecast/docker-compose.yml b/icecast/docker-compose.yml new file mode 100644 index 0000000..ec6a005 --- /dev/null +++ b/icecast/docker-compose.yml @@ -0,0 +1,15 @@ +version: '3.3' +services: + icecast: + environment: + - ICECAST_SOURCE_PASSWORD=smartcraftmc + - ICECAST_ADMIN_PASSWORD=f7m8t5k6 + - ICECAST_ADMIN_USERNAME=minster586 + - ICECAST_ADMIN_EMAIL=admin@smartcraft.me + - ICECAST_RELAY_PASSWORD=smartcraftmc-relay + - ICECAST_LOCATION=Smartcraft Media Group + - ICECAST_HOSTNAME=icecast.smartcraft.me + - ICECAST_MAX_SOURCES=6 + ports: + - '8000:8000' + image: infiniteproject/icecast \ No newline at end of file diff --git a/mc-gate/config-lite.yml b/mc-gate/config-lite.yml new file mode 100644 index 0000000..3810fc8 --- /dev/null +++ b/mc-gate/config-lite.yml @@ -0,0 +1,37 @@ +# This is a simplified config where the rest of the +# settings are omitted and will be set by default. +# See config.yml for the full configuration options. +config: + bind: 0.0.0.0:25565 + # Lite mode is a lightweight reverse proxy mode that acts as thin layer between the client and the backend server. + # See https://gate.minekube.com/guide/lite + # + # It efficiently routes client connections based on the virtual host address received in the handshake packet. + # This allows to protect multiple backend servers behind a single port Gate Lite proxy instance. + # Player connections (including ping requests and player authentication) is forwarded to the destined backend server. + # This means Lite mode supports proxy behind proxy setups, but advanced features like server switching or proxy commands are no longer available + # and have no effect in Lite mode when extensions use higher level Gate APIs and events. + lite: + # Enable Lite mode. + # If disabled, the proxy will act as a full proxy with all features enabled just like BungeeCord/Velocity. + # If enabled, the proxy will act as a lightweight reverse proxy to support new types of deployment architecture. + # Default: false + enabled: true + # Whether to use the proxy in online (authenticate players with Mojang API) or offline mode (not recommended). + onlineMode: true + # The routes that the proxy redirects player connections to based on matching the virtual host address. + # The routes are matched in order of appearance. + # Examples: + routes: + - host: smartcraft.me + backend: 172.16.0.12:3901 + # proxyProtocol: true # Use proxy protocol to connect to backend. + - host: rangerpost.org + backend: 172.16.0.48:37602 + # proxyProtocol: true # Use proxy protocol to connect to backend. + - host: atm8.smartcraft.me + backend: 172.16.0.10:32704 + # proxyProtocol: true # Use proxy protocol to connect to backend. + - host: atm9.smartcraft.me + backend: 172.16.0.10:32404 + # proxyProtocol: true # Use proxy protocol to connect to backend. diff --git a/mc-gate/docker-compose.yml b/mc-gate/docker-compose.yml new file mode 100644 index 0000000..c78c6ce --- /dev/null +++ b/mc-gate/docker-compose.yml @@ -0,0 +1,10 @@ +version: "3.8" + +services: + gate: + image: ghcr.io/minekube/gate:latest + container_name: mc-gate + restart: unless-stopped + network_mode: host + volumes: + - /mnt/Data/docker/gate-mc/config-lite.yml:/config.yml \ No newline at end of file diff --git a/nginx-proxy-manager/docker-compose.yml b/nginx-proxy-manager/docker-compose.yml new file mode 100644 index 0000000..9e77940 --- /dev/null +++ b/nginx-proxy-manager/docker-compose.yml @@ -0,0 +1,18 @@ +version: '3' +services: + app: + image: 'jc21/nginx-proxy-manager:latest' + restart: always + network_mode: host + environment: + # Mysql/Maria connection parameters: + DB_MYSQL_HOST: "172.16.0.6" + DB_MYSQL_PORT: 3306 + DB_MYSQL_USER: "root" + DB_MYSQL_PASSWORD: "f7m8t5k6" + DB_MYSQL_NAME: "npm" + # Uncomment this if IPv6 is not enabled on your host + # DISABLE_IPV6: 'true' + volumes: + - /home/eric/docker/nginx-proxy-manager/data:/data + - /home/eric/docker/nginx-proxy-manager/letsencrypt:/etc/letsencrypt \ No newline at end of file