2022-06-06 17:13:46 +02:00
|
|
|
version: "3.7"
|
|
|
|
|
|
|
|
# https://github.com/MitchTalmadge/AMP-dockerized
|
|
|
|
# https://github.com/MitchTalmadge/AMP-dockerized/blob/master/example-configs/minecraft/docker-compose.yml
|
|
|
|
|
|
|
|
services:
|
|
|
|
minecraft:
|
|
|
|
image: mitchtalmadge/amp-dockerized:latest
|
|
|
|
container_name: minecraft
|
|
|
|
restart: "${RESTART:-no}"
|
|
|
|
hostname: minecraft
|
|
|
|
domainname: ${BASE_DOMAIN}
|
|
|
|
mac_address: 02:42:AC:D7:11:9C # Please see the README about this field.
|
2022-06-07 22:11:50 +02:00
|
|
|
expose:
|
|
|
|
- "8080" # expose amp web ui port for proxy
|
2022-06-06 17:13:46 +02:00
|
|
|
ports:
|
|
|
|
- 25565:25565 # For Java Edition (TCP)
|
|
|
|
environment:
|
2022-06-07 22:11:50 +02:00
|
|
|
- TZ=Europe/Berlin # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
2022-06-06 17:13:46 +02:00
|
|
|
- LICENCE=${MINECRAFT_AMP_LICENSE}
|
|
|
|
- MODULE=Minecraft
|
|
|
|
volumes:
|
|
|
|
- ${BASE_DIR:-/srv}/minecraft/ampdata:/home/amp/.ampdata
|
|
|
|
networks:
|
|
|
|
- proxy
|