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. ports: - 25565:25565 # For Java Edition (TCP) # - 19132:19132/udp # For Bedrock Edition (UDP) # - 25570:8080 # Maybe you already have something running on 8080, so we could map to 25570. Remove if you want to use 8080. volumes: - ./ampdata:/home/amp/.ampdata environment: - UID=0 - GID=0 - TZ=DE # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones - LICENCE=${MINECRAFT_AMP_LICENSE} - MODULE=Minecraft volumes: - ${BASE_DIR:-/srv}/minecraft/ampdata:/home/amp/.ampdata networks: - proxy