Created
March 10, 2025 15:26
-
-
Save AlejandroAkbal/c67b14af7c3714fcffea03c73e17ae6e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
services: | |
minecraft: | |
image: itzg/minecraft-server | |
ports: | |
- '25565:25565' | |
environment: | |
- SERVICE_FQDN_PLUGINPLAN_8804 | |
- EULA=true | |
- 'MEMORY=${MINECRAFT_MEMORY:-1G}' | |
- 'TYPE=PURPUR' | |
- FORCE_REDOWNLOAD=false | |
- PURPUR_DOWNLOAD_URL=https://jars.arcadiatech.org/purpur/1.21.4/purpur.jar | |
- USE_AIKAR_FLAGS=true | |
- USE_SIMD_FLAGS=true | |
- 'SERVER_NAME=${MINECRAFT_SERVER_NAME:-Minecraft Server}' | |
- 'MOTD=${MINECRAFT_MOTD:-Minecraft Server powered by §aCoolify§r}' | |
- 'ICON=${MINECRAFT_ICON}' | |
- OVERRIDE_ICON=false | |
- 'DIFFICULTY=${MINECRAFT_DIFFICULTY:-normal}' | |
- 'MAX_PLAYERS=${MINECRAFT_MAX_PLAYERS:-20}' | |
- 'VIEW_DISTANCE=${MINECRAFT_VIEW_DISTANCE:-10}' | |
- 'ANNOUNCE_PLAYER_ACHIEVEMENTS=false' | |
- 'ENABLE_AUTOPAUSE=false' | |
- 'ENFORCE_SECURE_PROFILE=false' | |
- 'SNOOPER_ENABLED=false' | |
volumes: | |
- 'minecraft-data:/data' | |
healthcheck: | |
test: mc-health | |
start_period: 1m | |
interval: 15s | |
retries: 20 | |
filebrowser: | |
image: filebrowser/filebrowser | |
environment: | |
- SERVICE_FQDN_FILEBROWSER | |
volumes: | |
- 'minecraft-data:/srv' | |
- '/home/ubuntu/apps/mc-filebrowser/database.db:/database.db' | |
- '/home/ubuntu/apps/mc-filebrowser/filebrowser.json:/filebrowser.json' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment