feat: build vanilla and fourkit dedicated server docker images in nightly
This commit is contained in:
1 parent
8495baf83e
commit
54b60867d4
3 files changed
+70
No files matched your search
Executable
+1
@@ -0,0 +1 @@
|
|||||||
|
docker compose -f docker-compose.dedicated-server.fourkit.yml build
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
services:
|
||||||
|
lce-revelations-dedicated-server-fourkit:
|
||||||
|
image: ghcr.io/itsrevela/lce-revelations-dedicated-server-fourkit:nightly
|
||||||
|
container_name: lce-revelations-dedicated-server-fourkit
|
||||||
|
restart: unless-stopped
|
||||||
|
tty: true
|
||||||
|
stdin_open: true
|
||||||
|
environment:
|
||||||
|
TZ: ${TZ:-Etc/UTC}
|
||||||
|
WINEARCH: win64
|
||||||
|
WINEPREFIX: /var/opt/wineprefix64
|
||||||
|
WINEDEBUG: -all
|
||||||
|
# linux require use file stdin
|
||||||
|
SERVER_CLI_INPUT_MODE: ${SERVER_CLI_INPUT_MODE:-stream}
|
||||||
|
# minimum required virtual screen
|
||||||
|
XVFB_DISPLAY: ${XVFB_DISPLAY:-:99}
|
||||||
|
XVFB_SCREEN: ${XVFB_SCREEN:-720x1280x16}
|
||||||
|
volumes:
|
||||||
|
# - wineprefix64:/var/opt/wineprefix64
|
||||||
|
- ./server-data:/srv/persist
|
||||||
|
# Drop plugin DLLs into ./plugins on the host to load them at startup
|
||||||
|
- ./plugins:/srv/mc/plugins
|
||||||
|
ports:
|
||||||
|
- "25565:25565/tcp"
|
||||||
|
- "25565:25565/udp"
|
||||||
|
stop_grace_period: 30s
|
||||||
|
|
||||||
|
# volumes:
|
||||||
|
# wineprefix64:
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
services:
|
||||||
|
lce-revelations-dedicated-server-fourkit:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: docker/dedicated-server/Dockerfile
|
||||||
|
args:
|
||||||
|
# Bakes the FourKit-enabled server flavour with bundled .NET 10 runtime
|
||||||
|
# and an empty plugins/ folder. EXPERIMENTAL: hosting CoreCLR through
|
||||||
|
# Wine has not been thoroughly validated; run the TpsPlugin and verify
|
||||||
|
# the host loads before relying on this image in production.
|
||||||
|
MC_RUNTIME_DIR: ${MC_RUNTIME_DIR:-build/windows64/Minecraft.Server.FourKit/Release}
|
||||||
|
container_name: lce-revelations-dedicated-server-fourkit
|
||||||
|
restart: unless-stopped
|
||||||
|
tty: true
|
||||||
|
stdin_open: true
|
||||||
|
environment:
|
||||||
|
TZ: ${TZ:-Etc/UTC}
|
||||||
|
WINEARCH: win64
|
||||||
|
WINEPREFIX: /var/opt/wineprefix64
|
||||||
|
WINEDEBUG: -all
|
||||||
|
# linux require use file stdin
|
||||||
|
SERVER_CLI_INPUT_MODE: ${SERVER_CLI_INPUT_MODE:-stream}
|
||||||
|
# minimum required virtual screen
|
||||||
|
XVFB_DISPLAY: ${XVFB_DISPLAY:-:99}
|
||||||
|
XVFB_SCREEN: ${XVFB_SCREEN:-720x1280x16}
|
||||||
|
# ip & port the server will run on
|
||||||
|
SERVER_BIND_IP: ${SERVER_BIND_IP:-0.0.0.0}
|
||||||
|
SERVER_PORT: ${SERVER_PORT:-25565}
|
||||||
|
volumes:
|
||||||
|
# - wineprefix64:/var/opt/wineprefix64
|
||||||
|
- ./server-data:/srv/persist
|
||||||
|
# Drop plugin DLLs into ./plugins on the host to load them at startup
|
||||||
|
- ./plugins:/srv/mc/plugins
|
||||||
|
ports:
|
||||||
|
- "$SERVER_PORT:$SERVER_PORT/tcp"
|
||||||
|
- "$SERVER_PORT:$SERVER_PORT/udp"
|
||||||
|
stop_grace_period: 30s
|
||||||
|
|
||||||
|
# volumes:
|
||||||
|
# wineprefix64:
|
||||||
Reference in new issue
Block a user