Carsten Sprung
ecfbce28d3
- Add documentation about host setup - Refactor task files - Improve documentation Reviewed-on: carsten/docker-server#1
26 lines
859 B
YAML
26 lines
859 B
YAML
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)
|
|
- 2223:2223 # AMP FTP
|
|
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
|