29 lines
821 B
YAML
29 lines
821 B
YAML
|
services:
|
||
|
crafty:
|
||
|
container_name: crafty_container
|
||
|
image: registry.gitlab.com/crafty-controller/crafty-4:latest
|
||
|
restart: always
|
||
|
environment:
|
||
|
- TZ=${TZ}
|
||
|
- VIRTUAL_HOST=minecraft.${DOMAIN}
|
||
|
- VIRTUAL_PORT=8443
|
||
|
- LETSENCRYPT_HOST=minecraft.${DOMAIN}
|
||
|
- LETSENCRYPT_EMAIL=${EMAIL}
|
||
|
- LETSENCRYPT_TEST=true
|
||
|
ports:
|
||
|
- "8443:8443" # HTTPS
|
||
|
- "8123:8123" # DYNMAP
|
||
|
- "19132:19132/udp" # BEDROCK
|
||
|
- "25500-25600:25500-25600" # MC SERV PORT RANGE
|
||
|
volumes:
|
||
|
- ./crafty/backups:/crafty/backups
|
||
|
- ./crafty/logs:/crafty/logs
|
||
|
- ./crafty/servers:/crafty/servers
|
||
|
- ./crafty/config:/crafty/app/config
|
||
|
- ./crafty/import:/crafty/import
|
||
|
- ${DATA_LOCATION}:/external
|
||
|
networks:
|
||
|
default:
|
||
|
name: nginx-proxy
|
||
|
external: true
|