mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
e7e15ea704
So crafty always starts on boot by example
23 lines
508 B
YAML
23 lines
508 B
YAML
---
|
|
version: '3'
|
|
|
|
services:
|
|
crafty:
|
|
container_name: crafty_container
|
|
build: ..
|
|
restart: always
|
|
environment:
|
|
- TZ=Etc/UTC
|
|
ports:
|
|
- "8000:8000" # HTTP
|
|
- "8443:8443" # HTTPS
|
|
- "8123:8123" # DYNMAP
|
|
- "19132:19132/udp" # BEDROCK
|
|
- "25500-25600:25500-25600" # MC SERV PORT RANGE
|
|
volumes:
|
|
- ./backups:/crafty/backups
|
|
- ./logs:/crafty/logs
|
|
- ./servers:/crafty/servers
|
|
- ./config:/crafty/app/config
|
|
- ./import:/crafty/import
|