From 556dc4932c2220222c499d01cb8df518b330f06a Mon Sep 17 00:00:00 2001 From: rosa Date: Mon, 26 Jan 2026 01:28:00 +0100 Subject: [PATCH] feat(crafty): add crafty controller stack --- compose/crafty/.env.example | 8 ++++++++ compose/crafty/docker-compose.yml | 18 ++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 compose/crafty/.env.example create mode 100644 compose/crafty/docker-compose.yml diff --git a/compose/crafty/.env.example b/compose/crafty/.env.example new file mode 100644 index 0000000..1de16ad --- /dev/null +++ b/compose/crafty/.env.example @@ -0,0 +1,8 @@ +TZ="Etc/UTC" +HTTPS_PORT="8443" +PLEXMAP_PORT="8444" +BACKUPS_PATH="../../volumes/crafty/backups" +LOGS_PATH="../../volumes/crafty/logs" +SERVERS_PATH="../../volumes/crafty/servers" +CONFIG_PATH="../../volumes/crafty/config" +IMPORT_PATH="../../volumes/crafty/import" \ No newline at end of file diff --git a/compose/crafty/docker-compose.yml b/compose/crafty/docker-compose.yml new file mode 100644 index 0000000..14404d9 --- /dev/null +++ b/compose/crafty/docker-compose.yml @@ -0,0 +1,18 @@ +services: + crafty: + container_name: crafty_container + image: registry.gitlab.com/crafty-controller/crafty-4:latest + restart: always + environment: + TZ: "${TZ:-Etc/UTC}" + ports: + - "${HTTPS_PORT:-8443}:8443" # HTTPS + - "${PLEXMAP_PORT:-8444}:8080" + - "19132:19132/udp" # BEDROCK + - "25500-25600:25500-25600" # MC SERV PORT RANGE + volumes: + - "${BACKUPS_PATH:?}:/crafty/backups" + - "${LOGS_PATH:?}:/crafty/logs" + - "${SERVERS_PATH:?}:/crafty/servers" + - "${CONFIG_PATH:?}:/crafty/app/config" + - "${IMPORT_PATH:?}:/crafty/import" \ No newline at end of file