lots of stuff had been added

This commit is contained in:
Waylon Walker 2023-10-21 09:21:14 -05:00
parent 28420e86dd
commit 814900b72e
16 changed files with 257 additions and 0 deletions

25
atm9/docker-compose.yml Normal file
View file

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

5
broadcast/Dockerfile Normal file
View file

@ -0,0 +1,5 @@
FROM python:3.11-slim
COPY broadcast.py .
CMD ["python", "broadcast.py"]

22
broadcast/broadcast.py Normal file
View file

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

View file

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

View file

@ -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: {}

View file

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

View file

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

View file

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

View file

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

6
installer/Dockerfile Normal file
View file

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

View file

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

View file

@ -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: {}

17
minio/docker-compose.yml Normal file
View file

@ -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: {}

View file

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

View file

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

View file

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