Readded prunemate and changed minecraft to use crafty
This commit is contained in:
committed by
shaun collins
parent
4fae8e4798
commit
a58b9b04e2
+3
-1
@@ -5,9 +5,11 @@ Database/
|
|||||||
|
|
||||||
Gitea/gitea/
|
Gitea/gitea/
|
||||||
Gitea/mysql/
|
Gitea/mysql/
|
||||||
Minecraft/data
|
Minecraft/docker/
|
||||||
NginxReverseProxy/data/
|
NginxReverseProxy/data/
|
||||||
NginxReverseProxy/letsencrypt
|
NginxReverseProxy/letsencrypt
|
||||||
|
Prunemate/logs/
|
||||||
|
Prunemate/config/
|
||||||
Scanopy/data
|
Scanopy/data
|
||||||
JellyFin/Gluetun
|
JellyFin/Gluetun
|
||||||
JellyFin/JellySeerr
|
JellyFin/JellySeerr
|
||||||
|
|||||||
+17
-11
@@ -1,12 +1,18 @@
|
|||||||
services:
|
services:
|
||||||
mc:
|
crafty:
|
||||||
image: itzg/minecraft-server:latest
|
container_name: crafty_container
|
||||||
tty: true
|
image: registry.gitlab.com/crafty-controller/crafty-4:latest
|
||||||
stdin_open: true
|
restart: always
|
||||||
ports:
|
environment:
|
||||||
- "25565:25565"
|
- TZ=Etc/UTC
|
||||||
environment:
|
ports:
|
||||||
EULA: "TRUE"
|
- "8443:8443" # HTTPS
|
||||||
MEMORY: "5120M"
|
- "8123:8123" # DYNMAP
|
||||||
volumes:
|
- "19132:19132/udp" # BEDROCK
|
||||||
- "./data:/data"
|
- "25500-25600:25500-25600" # MC SERV PORT RANGE
|
||||||
|
volumes:
|
||||||
|
- ./docker/backups:/crafty/backups
|
||||||
|
- ./docker/logs:/crafty/logs
|
||||||
|
- ./docker/servers:/crafty/servers
|
||||||
|
- ./docker/config:/crafty/app/config
|
||||||
|
- ./docker/import:/crafty/import
|
||||||
@@ -216,7 +216,8 @@
|
|||||||
{ ipAddress: "192.168.40.5", port: "81", name: "Nginx Reverse Proxy", description: "Provide site routing", site: "nginx", icon: "fa-solid fa-network-wired" },
|
{ ipAddress: "192.168.40.5", port: "81", name: "Nginx Reverse Proxy", description: "Provide site routing", site: "nginx", icon: "fa-solid fa-network-wired" },
|
||||||
{ ipAddress: "192.168.40.5", port: "8080", name: "QBit Torrent", description: "Torrent client", site: "torrent", icon: "fa-solid fa-download" },
|
{ ipAddress: "192.168.40.5", port: "8080", name: "QBit Torrent", description: "Torrent client", site: "torrent", icon: "fa-solid fa-download" },
|
||||||
{ ipAddress: "192.168.40.5", port: "7676", name: "PruneMate", description: "Clean up Docker data", site: "prune", icon: "fa-solid fa-trash" },
|
{ ipAddress: "192.168.40.5", port: "7676", name: "PruneMate", description: "Clean up Docker data", site: "prune", icon: "fa-solid fa-trash" },
|
||||||
{ ipAddress: "192.168.40.5", port: "60072", name: "Scanopy", description: "Scan and organize your network", site: "scan", icon: "fa-solid fa-satellite-dish" }
|
{ ipAddress: "192.168.40.5", port: "60072", name: "Scanopy", description: "Scan and organize your network", site: "scan", icon: "fa-solid fa-satellite-dish" },
|
||||||
|
{ ipAddress: "192.168.40.5", scheme: 'https://', port: "8443", name: "Minecraft", description: "Crafty Minecraft server admin", site: "minecraft", icon: "fa-solid fa-cubes" }
|
||||||
];
|
];
|
||||||
|
|
||||||
const buttonContainer = document.querySelector(".button-container");
|
const buttonContainer = document.querySelector(".button-container");
|
||||||
@@ -237,7 +238,9 @@
|
|||||||
tooltipContainer.className = "tooltip-container";
|
tooltipContainer.className = "tooltip-container";
|
||||||
|
|
||||||
const link = document.createElement("a");
|
const link = document.createElement("a");
|
||||||
const url = `http://${site.ipAddress}:${site.port}`;
|
const defaultScheme = "http://";
|
||||||
|
let scheme = site.scheme || defaultScheme;
|
||||||
|
const url = `${scheme}${site.ipAddress}:${site.port}`;
|
||||||
link.href = url;
|
link.href = url;
|
||||||
link.target = "_blank";
|
link.target = "_blank";
|
||||||
link.className = "link-button";
|
link.className = "link-button";
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
up:
|
||||||
|
docker-compose up -d
|
||||||
|
|
||||||
|
down:
|
||||||
|
docker-compose down
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
services:
|
||||||
|
prunemate:
|
||||||
|
image: anoniemerd/prunemate:latest # Supports amd64 and arm64
|
||||||
|
container_name: prunemate
|
||||||
|
|
||||||
|
ports:
|
||||||
|
- "7676:8080"
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
- ./logs:/var/log
|
||||||
|
- ./config:/config
|
||||||
|
environment:
|
||||||
|
- PRUNEMATE_TZ=Europe/London # Change this to your desired timezone
|
||||||
|
- PRUNEMATE_TIME_24H=true #false for 12-Hour format (AM/PM)
|
||||||
|
# Optional: Enable authentication (generate hash with: docker run --rm anoniemerd/prunemate python prunemate.py --gen-hash "password")
|
||||||
|
# - PRUNEMATE_AUTH_USER=admin
|
||||||
|
|
||||||
|
# - PRUNEMATE_AUTH_PASSWORD_HASH=your_base64_encoded_hash_here
|
||||||
|
restart: unless-stopped
|
||||||
Reference in New Issue
Block a user