mirror of
https://github.com/Viren070/docker-compose-template.git
synced 2025-12-01 23:17:00 +01:00
1d3d792e12
* feat: . * feat: delete old data folder * fix: rename zipline-db service to zipline_postgres in compose.yaml * fix: add zipline compose to include list * fix: add redis service for stremthru * docs: add instructions in .env files * feat: remove docker folder and place apps and data folder in root dir * fix: add empty tokens.json file for plex_authentication * fix: add aiostremio template config * docs: update README with Authelia authentication and clarify setup instructions * fix: update stremthru_redis volume path and profile name in compose.yaml
31 lines
880 B
YAML
31 lines
880 B
YAML
services:
|
|
minecraft:
|
|
image: itzg/minecraft-server:latest
|
|
tty: true
|
|
stdin_open: true
|
|
container_name: minecraft
|
|
ports:
|
|
- "25565:25565"
|
|
environment:
|
|
UID: ${PUID}
|
|
PGID: ${PGID}
|
|
EULA: "TRUE"
|
|
TYPE: ${MINECRAFT_SERVER_TYPE:-PAPER}
|
|
MEMORY: ${MINECRAFT_SERVER_MEMORY:-8G}
|
|
MOTD: ${MINECRAFT_SERVER_MOTD:-"A Minecraft Server"}
|
|
OVERRIDE_ICON: ${MINECRAFT_SERVER_OVERRIDE_ICON:-}
|
|
ICON: ${MINECRAFT_SERVER_ICON:-}
|
|
USE_AIKAR_FLAGS: "TRUE"
|
|
TZ: ${TZ:-UTC}
|
|
DIFFICULTY: "2"
|
|
VIEW_DISTANCE: ${MINECRAFT_SERVER_VIEW_DISTANCE:-10}
|
|
OPS: |-
|
|
${MINECRAFT_SERVER_OP:-}
|
|
ENABLE_WHITE_LIST: ${MINECRAFT_SERVER_ENABLE_WHITE_LIST:-false}
|
|
WHITELIST: ${MINECRAFT_SERVER_WHITELIST:-}
|
|
volumes:
|
|
- "${DOCKER_DATA_DIR}/minecraft:/data"
|
|
profiles:
|
|
- minecraft
|
|
- all
|