2025-03-19 23:04
This commit is contained in:
parent
040e82baa7
commit
85ba14147d
2 changed files with 6 additions and 9 deletions
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
#SYSINFO
|
#SYSINFO
|
||||||
TZ=
|
TZ=
|
||||||
TZ_CITY=
|
TZ_CITY=
|
||||||
|
|
|
@ -2,9 +2,9 @@ version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
mc-smp: # minecraft paper server. The config here and options in .env will get you a working server, but you might want to customize it further https://docker-minecraft-server.readthedocs.io/
|
mc-smp-fabric: # minecraft paper server. The config here and options in .env will get you a working server, but you might want to customize it further https://docker-minecraft-server.readthedocs.io/
|
||||||
image: itzg/minecraft-server
|
image: itzg/minecraft-server
|
||||||
container_name: mc-smp
|
container_name: mc-smp-fabric
|
||||||
ports:
|
ports:
|
||||||
- ${MC_SMP_JAVA_PORT}:25565/tcp
|
- ${MC_SMP_JAVA_PORT}:25565/tcp
|
||||||
- ${MC_SMP_BEDROCK_PORT}:19132/udp
|
- ${MC_SMP_BEDROCK_PORT}:19132/udp
|
||||||
|
@ -15,12 +15,10 @@ services:
|
||||||
- UID=${UID}
|
- UID=${UID}
|
||||||
- GID=${GID}
|
- GID=${GID}
|
||||||
- EXEC_DIRECTLY=TRUE
|
- EXEC_DIRECTLY=TRUE
|
||||||
- MEMORY=3G
|
- MEMORY=4G
|
||||||
- VERSION=${MC_VERSION}
|
- VERSION=${MC_VERSION}
|
||||||
- PAPER_CHANNEL=experimental
|
- PAPER_CHANNEL=experimental
|
||||||
- TYPE=PAPER
|
- TYPE=FABRIC
|
||||||
# - SPIGET_RESOURCES=18494
|
|
||||||
- MODS_FILE=/extras/mods.txt
|
|
||||||
- DIFFICULTY=${MC_SMP_DIFFICULTY}
|
- DIFFICULTY=${MC_SMP_DIFFICULTY}
|
||||||
- MOTD=${MC_SMP_MOTD}
|
- MOTD=${MC_SMP_MOTD}
|
||||||
- OPS=${MC_SMP_OPS}
|
- OPS=${MC_SMP_OPS}
|
||||||
|
@ -37,6 +35,6 @@ services:
|
||||||
tty: true
|
tty: true
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
volumes:
|
volumes:
|
||||||
- ${MEDIA_PATH}/Games/minecraft/smp/data:/data
|
- ${MEDIA_PATH}/Games/minecraft/smp-fabric/data:/data
|
||||||
- ${MEDIA_PATH}/Games/minecraft/smp/extras:/extras
|
- ${MEDIA_PATH}/Games/minecraft/smp-fabric/extras:/extras
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
Loading…
Add table
Reference in a new issue