diff --git a/atm9/docker-compose.yml b/atm9/docker-compose.yml new file mode 100644 index 0000000..71e679c --- /dev/null +++ b/atm9/docker-compose.yml @@ -0,0 +1,25 @@ +version: "3.8" + +services: + atm9: + name: atm9 + image: itzg/minecraft-server + environment: + EULA: "true" + TYPE: "FORGE" + CF_SERVER_MOD: 'All+the+Mods+9-0.0.41.zip' + FORGE_VERSION: '47.1.3' + MEMORY: '2G' + ports: + - "25509:25565" + volumes: + - ./data:/data + - ./modpacks:/modpacks + stdin_open: true + tty: true + restart: unless-stopped +volumes: + data: + external: true + mods: + external: true diff --git a/broadcast/Dockerfile b/broadcast/Dockerfile new file mode 100644 index 0000000..15a76bb --- /dev/null +++ b/broadcast/Dockerfile @@ -0,0 +1,5 @@ +FROM python:3.11-slim + +COPY broadcast.py . + +CMD ["python", "broadcast.py"] diff --git a/broadcast/broadcast.py b/broadcast/broadcast.py new file mode 100644 index 0000000..ea5cee5 --- /dev/null +++ b/broadcast/broadcast.py @@ -0,0 +1,22 @@ +import socket +import time + +servers = [ + ["WalkerCraft", 25565], + ["Modded WalkerCraft", 25566], + # ["All the Walkers 9", 25509], +] + +BROADCAST_IP = "255.255.255.255" +BROADCAST_PORT = 4445 + +sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) +sock.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1) + +print("Broadcasting Minecraft servers to LAN") + +while 1: + for server in servers: + msg = f"[MOTD]{server[0]}[/MOTD][AD]{server[1]}[/AD]" + sock.sendto(msg.encode(), (BROADCAST_IP, BROADCAST_PORT)) + time.sleep(1.5) diff --git a/broadcast/docker-compose.yml b/broadcast/docker-compose.yml new file mode 100644 index 0000000..42bd89f --- /dev/null +++ b/broadcast/docker-compose.yml @@ -0,0 +1,16 @@ +version: "3.8" + +services: + mc: + build: + context: . + dockerfile: Dockerfile + tags: + - broadcast:latest + restart_policy: + condition: on-failure + ports: + - "4445:4445" + network_mode: host + + diff --git a/flatcraft/docker-compose.yml b/flatcraft/docker-compose.yml new file mode 100644 index 0000000..7d2002a --- /dev/null +++ b/flatcraft/docker-compose.yml @@ -0,0 +1,22 @@ +version: "3.8" + +services: + mc: + image: itzg/minecraft-server + environment: + EULA: "true" + GENERATE_STRUCTURES: true + LEVEL_TYPE: FLAT + VERSION: 1.20.1 + TYPE: FABRIC + ports: + - "25564:25565" + volumes: + # - data:/data + - ./data:/data + - ./mods:/mods + stdin_open: true + tty: true + restart: unless-stopped +volumes: + data: {} diff --git a/flatcraft/mods/.index/architectury-api.pw.toml b/flatcraft/mods/.index/architectury-api.pw.toml new file mode 100644 index 0000000..04f0cb3 --- /dev/null +++ b/flatcraft/mods/.index/architectury-api.pw.toml @@ -0,0 +1,14 @@ +name = "Architectury API" +filename = "architectury-9.1.12-fabric.jar" +side = "both" + +[download] +mode = "url" +url = "https://cdn.modrinth.com/data/lhGA9TYQ/versions/Sbew3kXe/architectury-9.1.12-fabric.jar" +hash-format = "sha512" +hash = "54bdfc469f897e70a10b31c49d908e09b9cdefdda87c662ad6695c713fbf901bc37256c157ca7d2b9c70a13b304ee74a88cbead98bb23f1ae10e2aef3482db17" + +[update] +[update.modrinth] +mod-id = "lhGA9TYQ" +version = "Sbew3kXe" diff --git a/flatcraft/mods/.index/ftb-library-fabric.pw.toml b/flatcraft/mods/.index/ftb-library-fabric.pw.toml new file mode 100644 index 0000000..5d2be7b --- /dev/null +++ b/flatcraft/mods/.index/ftb-library-fabric.pw.toml @@ -0,0 +1,14 @@ +name = "FTB Library (Fabric)" +filename = "ftb-library-fabric-2001.1.3.jar" +side = "both" + +[download] +mode = "metadata:curseforge" +url = "" +hash-format = "sha1" +hash = "258199e79e242460d1ae7e6423d4af2b9b408cc3" + +[update] +[update.curseforge] +file-id = 4720055 +project-id = 438495 diff --git a/flatcraft/mods/.index/ftb-ultimine-fabric.pw.toml b/flatcraft/mods/.index/ftb-ultimine-fabric.pw.toml new file mode 100644 index 0000000..ed3d8c9 --- /dev/null +++ b/flatcraft/mods/.index/ftb-ultimine-fabric.pw.toml @@ -0,0 +1,14 @@ +name = "FTB Ultimine (Fabric)" +filename = "ftb-ultimine-fabric-2001.1.2.jar" +side = "both" + +[download] +mode = "metadata:curseforge" +url = "" +hash-format = "sha1" +hash = "aa28741db72062ee7401217435338a7ae1fb6575" + +[update] +[update.curseforge] +file-id = 4597011 +project-id = 448231 diff --git a/flatcraft/mods/.index/identity.pw.toml b/flatcraft/mods/.index/identity.pw.toml new file mode 100644 index 0000000..6d5ce0a --- /dev/null +++ b/flatcraft/mods/.index/identity.pw.toml @@ -0,0 +1,14 @@ +name = "Identity" +filename = "identity-2.7.1-1.20.1-fabric.jar" +side = "both" + +[download] +mode = "metadata:curseforge" +url = "" +hash-format = "sha1" +hash = "469cf3bfc9473f8db2ac6fdb4546a52ad7c8a3f5" + +[update] +[update.curseforge] +file-id = 4687497 +project-id = 391390 diff --git a/installer/Dockerfile b/installer/Dockerfile new file mode 100644 index 0000000..4d10a11 --- /dev/null +++ b/installer/Dockerfile @@ -0,0 +1,6 @@ +FROM alpine +RUN apk update && apk add bash curl +workdir /app +RUN curl -s https://i.jpillora.com/installer | bash +EXPOSE 3003 +CMD /app/installer diff --git a/installer/docker-compose.yml b/installer/docker-compose.yml new file mode 100644 index 0000000..b47f679 --- /dev/null +++ b/installer/docker-compose.yml @@ -0,0 +1,34 @@ +version: "3" + +services: + installer: + image: installer + build: ../installer + container_name: installer + restart: unless-stopped + security_opt: + - no-new-privileges:true + networks: + - proxy + ports: + - 3003:3003 + environment: + - HTTP_HOST=0.0.0.0 + - PORT=3003 + - USER=waylonwalker + labels: + - "traefik.enable=true" + - "traefik.http.routers.installer.entrypoints=http" + - "traefik.http.routers.installer.rule=Host(`installer.${URL}`)" + - "traefik.http.middlewares.installer-https-redirect.redirectscheme.scheme=https" + - "traefik.http.routers.installer.middlewares=installer-https-redirect" + - "traefik.http.routers.installer-secure.entrypoints=https" + - "traefik.http.routers.installer-secure.rule=Host(`installer.${URL}`)" + - "traefik.http.routers.installer-secure.tls=true" + - "traefik.http.routers.installer-secure.service=installer" + - "traefik.http.services.installer.loadbalancer.server.port=3003" + - "traefik.docker.network=proxy" + +networks: + proxy: + external: true diff --git a/minecraft/docker-compose.yml b/minecraft/docker-compose.yml new file mode 100644 index 0000000..8f73faf --- /dev/null +++ b/minecraft/docker-compose.yml @@ -0,0 +1,20 @@ +version: "3.8" + +services: + mc: + image: itzg/minecraft-server + environment: + EULA: "true" + MODS: + - + ports: + - "25565:25565" + volumes: + # - data:/data + - ./data:/data + - ./mods:/mods + stdin_open: true + tty: true + restart: unless-stopped +volumes: + data: {} diff --git a/minio/docker-compose.yml b/minio/docker-compose.yml new file mode 100644 index 0000000..2dfc2b2 --- /dev/null +++ b/minio/docker-compose.yml @@ -0,0 +1,17 @@ +version: '3' + +services: + sandcrawler: + image: minio/minio + ports: + - "9090:9000" + - "9091:9001" + volumes: + - /mnt/vault/sandcrawler:/data + environment: + MINIO_ROOT_USER: $MINIO_ROOT_USER + MINIO_ROOT_PASSWORD: $MINIO_ROOT_PASSWORD + command: server --console-address ":9001" /data + +volumes: + minio_storage: {} diff --git a/portainer/docker-compose.yml b/portainer/docker-compose.yml index f4431eb..bb093d2 100644 --- a/portainer/docker-compose.yml +++ b/portainer/docker-compose.yml @@ -13,6 +13,8 @@ services: - /etc/localtime:/etc/localtime:ro - /var/run/docker.sock:/var/run/docker.sock:ro - ${PWD}/portainer/data:/data + ports: + - 9000:9000 labels: - "traefik.enable=true" - "traefik.http.routers.portainer.entrypoints=http" diff --git a/registry/docker-compose.yml b/registry/docker-compose.yml new file mode 100644 index 0000000..57b4e58 --- /dev/null +++ b/registry/docker-compose.yml @@ -0,0 +1,16 @@ +version: '3' +services: + registry: + image: registry + environment: + REGISTRY_AUTH: htpasswd + REGISTRY_AUTH_HTPASSWD_REALM: Registry + REGISTRY_AUTH_HTPASSWD_PATH: /auth/registry.password + REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY: /data + ports: + - "5555:5000" + restart: always + volumes: + - ./auth:/auth + - /mnt/vault/tatooine:/data + diff --git a/terraria/docker-compose.yml b/terraria/docker-compose.yml new file mode 100644 index 0000000..2000e99 --- /dev/null +++ b/terraria/docker-compose.yml @@ -0,0 +1,16 @@ +version: '3' +services: + terraria: + image: ryshe/terraria:latest + command: -world /root/.local/share/Terraria/Worlds/dreamland-of-decaying-meat.wld -autocreate 3 + volumes: + - $HOME/terraria/world:/root/.local/share/Terraria/Worlds + ports: + - 7777:7777 + terraria-wyatt: + image: ryshe/terraria:latest + command: -world /root/.local/share/Terraria/Worlds/dreamland-of-decaying-meat.wld -autocreate 3 + volumes: + - $HOME/terraria/world-wyatt:/root/.local/share/Terraria/Worlds + ports: + - 7778:7777