mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
minecraft server
This commit is contained in:
parent
93fd3e2d54
commit
f53902abee
2 changed files with 29 additions and 1 deletions
|
|
@ -132,6 +132,26 @@ services:
|
|||
BACKEND_URL: "http://cors-school-server:8080/api"
|
||||
networks:
|
||||
- internal
|
||||
|
||||
minecraft_server:
|
||||
container_name: minecraft-server
|
||||
image: itzg/minecraft-server:latest
|
||||
environment:
|
||||
- TYPE=VANILLA
|
||||
- VERSION=1.20.1
|
||||
- DIFFICULTY=HARD
|
||||
- EULA=TRUE
|
||||
- MOTD=baden
|
||||
- MEMORY=6G
|
||||
- MODE=creative
|
||||
- PVP=true
|
||||
- SERVER_NAME=hallenbad
|
||||
- USE_AIKAR_FLAGS=true
|
||||
env_file:
|
||||
# For example, storing the WHITELIST and OPS
|
||||
- /apps/minecraft/.env
|
||||
ports:
|
||||
- "25565:25565"
|
||||
volumes:
|
||||
- /apps/minecraft/server:/data
|
||||
networks:
|
||||
internal:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue