Created
June 7, 2021 03:00
-
-
Save orlea/21de613dc881fdd4aa4dfb8e3b41d77b to your computer and use it in GitHub Desktop.
minecraft-fabric-docker-compose.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
mc-fabric: | |
image: itzg/minecraft-server | |
ports: | |
- 25565:25565 | |
environment: | |
EULA: "TRUE" | |
MEMORY: 1536m | |
TYPE: "FABRIC" | |
VERSION: "1.16.5" | |
FABRIC_INSTALLER_VERSION: "0.7.3" | |
OPS: "オペレーター1,オペレーター2,..." | |
WHITELIST: "ユーザー1,ユーザー2,..." | |
volumes: | |
- ./mc-fabric:/data | |
- /etc/timezone:/etc/timezone:ro | |
tty: true | |
stdin_open: true | |
restart: always | |
backup: | |
image: itzg/mc-backup | |
depends_on: | |
- mc-fabric | |
volumes: | |
- ./mc-fabric:/data:ro | |
- ./mc-backups:/backups | |
- /etc/timezone:/etc/timezone:ro | |
network_mode: "service:mc-fabric" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment