feat(crafty): add crafty controller stack
This commit is contained in:
8
compose/crafty/.env.example
Normal file
8
compose/crafty/.env.example
Normal file
@@ -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"
|
||||||
18
compose/crafty/docker-compose.yml
Normal file
18
compose/crafty/docker-compose.yml
Normal file
@@ -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"
|
||||||
Reference in New Issue
Block a user