mirror of
https://github.com/cupcakearmy/coolify.git
synced 2024-10-22 16:14:22 +02:00
Merge pull request #2981 from kunumigab/main
Added minecraft-server (java) as template
This commit is contained in:
commit
f205c0ab9e
1
public/svgs/minecraft.svg
Normal file
1
public/svgs/minecraft.svg
Normal file
@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" width="144px" height="144px"><path fill="#8BC34A" d="M11 7L21 7 20 11 23 11 21 16 25 16 27 11 30 11 31 7 41 7 35 33 3 33z"/><path fill="#263238" d="M40.754,6H40h-9h-0.74l-1.182,5H27.5h-1.299l-0.509,1.854L20.785,6H20h-7.266H11h-0.359h-0.01L2,33l8.908,9h0.229h2.004h7.982l1.523-6.172L23.698,37h2.62l4.104,5H30.6h1.784h8.538L46,17L40.754,6z M31.333,8h8.133l-1.808,8h-3.754l1.086-4.402c0.029-0.146-0.009-0.299-0.104-0.415C34.792,11.067,34.649,11,34.5,11h-3.908L31.333,8z M27.5,11.916V12h6.39l-1.012,4h-6.581l1.087-3.66L27.5,11.916z M18.887,11h-7.715l0.938-3h7.688L18.887,11z M12.334,33.042H4.369L4.328,33H4.297l3.125-10h1.915L7.52,29.362c-0.043,0.151-0.014,0.313,0.081,0.438C7.695,29.927,7.843,30,8,30h5.217L12.334,33.042z M9.52,26h4.858l-0.871,3H8.663L9.52,26z M25.094,33l2.628-11h-2.094h-1.121l-1.352,5H17.4l1.354-5h-3.215l-0.871,3H9.806l0.675-2.362c0.043-0.151,0.014-0.313-0.081-0.438C10.305,22.073,10.157,22,10,22H7.734l3.125-10h7.725H19h2.292l-1.354,5H25h1h11.432l-3.615,16H25.094z"/><path fill="#8D6E63" d="M18.841 40L12.334 33 4.328 33 11.182 40zM38.801 40L33.816 33 25.094 33 30.764 40zM23.036 33L23 33 24.117 28.324 23.084 27 17.484 27 24.071 35.001 24.678 35.001z"/></svg>
|
After Width: | Height: | Size: 1.2 KiB |
44
templates/compose/minecraft.yaml
Normal file
44
templates/compose/minecraft.yaml
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
# documentation: https://github.com/itzg/docker-minecraft-server
|
||||||
|
# slogan: Docker image that provides a Minecraft Server that will automatically download selected version at startup.
|
||||||
|
# tags: minecraft
|
||||||
|
# logo: svgs/minecraft.svg
|
||||||
|
# port: 25565
|
||||||
|
|
||||||
|
services:
|
||||||
|
mc:
|
||||||
|
image: itzg/minecraft-server
|
||||||
|
ports:
|
||||||
|
- 25565:25565
|
||||||
|
environment:
|
||||||
|
EULA: true
|
||||||
|
VERSION: latest
|
||||||
|
TYPE: vanilla
|
||||||
|
SERVER_NAME: Minecraft Server
|
||||||
|
MOTD: Minecraft Server powered by §aCoolify§r
|
||||||
|
DIFFICULTY: normal
|
||||||
|
MAX_PLAYERS: 10
|
||||||
|
MAX_WORLD_SIZE: 10000
|
||||||
|
VIEW_DISTANCE: 10
|
||||||
|
MAX_BUILD_HEIGHT: 256
|
||||||
|
MAX_TICK_TIME: 60000
|
||||||
|
ALLOW_NETHER: true
|
||||||
|
ANNOUNCE_PLAYER_ACHIEVEMENTS: true
|
||||||
|
GENERATE_STRUCTURES: true
|
||||||
|
PVP: true
|
||||||
|
FORCE_GAMEMODE: false
|
||||||
|
HARDCORE: false
|
||||||
|
ENABLE_COMMAND_BLOCK: false
|
||||||
|
SPAWN_ANIMALS: true
|
||||||
|
SPAWN_MONSTERS: true
|
||||||
|
SPAWN_NPCS: true
|
||||||
|
SNOOPER_ENABLED: true
|
||||||
|
ONLINE_MODE: true
|
||||||
|
PLAYER_IDLE_TIMEOUT: 0
|
||||||
|
MEMORY: 1G
|
||||||
|
ENABLE_AUTOPAUSE: false
|
||||||
|
tty: true
|
||||||
|
stdin_open: true
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
# attach a directory relative to the directory containing this compose file
|
||||||
|
- /minecraft-data:/data
|
Loading…
Reference in New Issue
Block a user