-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
385e3d7
commit 58f4b28
Showing
3 changed files
with
45 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# This configuration creates one ADS instance, which can be used to create multiple "child" instances. | ||
# This is a good choice if you want to run multiple game servers, even of different types. | ||
version: "3" | ||
services: | ||
amp: | ||
container_name: amp | ||
image: mitchtalmadge/amp-dockerized:latest | ||
ports: | ||
- 8080:8080 | ||
- 25565:25565 # Example port for Minecraft server. | ||
- 27015:27015 # Example port for GMod server. | ||
# Add more ports as needed for whatever game servers you'll be running. Create the game instances through ADS web UI. | ||
volumes: | ||
- ./ampdata:/ampdata | ||
environment: | ||
- "UID=120" # Change according to which user on the host will own the ampdata volume. | ||
- "GID=124" | ||
- "LICENCE=#########-####-#####-##########" | ||
- "MODULE=ADS" | ||
restart: unless-stopped |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
# This configuration creates one McMyAdmin (Minecraft) instance. No ADS instances are created. | ||
version: "3" | ||
services: | ||
amp: | ||
container_name: amp | ||
image: mitchtalmadge/amp-dockerized:latest | ||
ports: | ||
- 25565:25565 # Game Port. Format: HOST:CONTAINER | ||
- 25570:8080 # Web UI Port. | ||
- 25565:25565 | ||
- 25570:8080 | ||
volumes: | ||
- ./data:/ampdata # Without a volume, all AMP & game data will be wiped on container restart. | ||
- ./ampdata:/ampdata | ||
environment: | ||
- "UID=120" # This user, and the group below, will own the ./data mount specified above. | ||
- "GID=124" # When not specified, the user and group will be 1000, 1000 (first non-system user in Linux). | ||
- "LICENCE=#########-####-#####-##########" # Your McMyAdmin licence goes here. | ||
- "UID=120" # Change according to which user on the host will own the ampdata volume. | ||
- "GID=124" | ||
- "LICENCE=#########-####-#####-##########" | ||
- "MODULE=McMyAdmin" | ||
restart: unless-stopped # This starts the image when your host boots up, and if it ever goes down it will restart. | ||
restart: unless-stopped |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# This configuration creates one Minecraft instance. No ADS instances are created. | ||
version: "3" | ||
services: | ||
amp: | ||
container_name: amp | ||
image: mitchtalmadge/amp-dockerized:latest | ||
ports: | ||
- 25565:25565 | ||
- 25570:8080 | ||
volumes: | ||
- ./ampdata:/ampdata | ||
environment: | ||
- "UID=120" # Change according to which user on the host will own the ampdata volume. | ||
- "GID=124" | ||
- "LICENCE=#########-####-#####-##########" | ||
- "MODULE=Minecraft" | ||
restart: unless-stopped |