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. expose: - "8080" # expose amp web ui port for proxy ports: - 25565:25565 # For Java Edition (TCP) environment: - TZ=Europe/Berlin # 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