mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
bd4760e504
Co-authored-by: christopher blodgett <christopher.blodgett@gmail.com> Co-authored-by: Geoff Bourne <itzgeoff@gmail.com>
18 lines
509 B
YAML
18 lines
509 B
YAML
version: "3"
|
|
|
|
services:
|
|
mc:
|
|
restart: "no"
|
|
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
|
|
environment:
|
|
EULA: "TRUE"
|
|
SETUP_ONLY: "TRUE"
|
|
VERSION: ${MINECRAFT_VERSION:-LATEST}
|
|
MODS_FORGEAPI_FILE: /config/example.json
|
|
# Key is defined in .github/workflows/pr.yml and ci.yml
|
|
# This should be coming from github secrets.
|
|
MODS_FORGEAPI_KEY: ${MODS_FORGEAPI_KEY}
|
|
REMOVE_OLD_FORGEAPI_MODS: "TRUE"
|
|
volumes:
|
|
- ./example.json:/config/example.json:ro
|