2023-10-29 20:22:54 +01:00
|
|
|
version: "3.7"
|
|
|
|
|
2024-10-29 18:46:38 +01:00
|
|
|
# https://hub.docker.com/r/mitchtalmadge/amp-dockerized
|
|
|
|
# https://github.com/MitchTalmadge/AMP-dockerized
|
2023-10-29 20:22:54 +01:00
|
|
|
|
|
|
|
services:
|
|
|
|
games:
|
2024-10-26 16:49:22 +02:00
|
|
|
image: mitchtalmadge/amp-dockerized:v22
|
2023-10-29 20:22:54 +01:00
|
|
|
container_name: games
|
|
|
|
restart: "${RESTART:-no}"
|
|
|
|
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=${TIMEZONE}
|
2024-10-26 16:49:22 +02:00
|
|
|
- AMP_LICENCE=${MINECRAFT_AMP_LICENSE}
|
|
|
|
- AMP_MODULE=ADS
|
2023-10-29 20:22:54 +01:00
|
|
|
volumes:
|
2024-10-26 16:49:22 +02:00
|
|
|
- ${BASE_DIR:-/srv}/games:/home/amp/.ampdata
|
2023-10-29 20:22:54 +01:00
|
|
|
networks:
|
|
|
|
- proxy
|
|
|
|
- mail
|