media-server-docker-compose/minecraft/docker-compose.yml

29 lines
821 B
YAML
Raw Permalink Normal View History

2024-05-24 12:55:08 -04:00
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