mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-10-10 14:07:14 +00:00
feat: load env vars from file or archive at startup (#4053)
This commit is contained in:
1 parent
b35db38cd3
commit
ffbd905ec4
15 files changed
+250
-3
No files matched your search
@@ -0,0 +1,18 @@
|
||||
services:
|
||||
mc:
|
||||
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
|
||||
environment:
|
||||
EULA: "true"
|
||||
SETUP_ONLY: "true"
|
||||
LOAD_ENV_FROM_ARCHIVE: /test/load-env.zip
|
||||
MOTD: from-compose
|
||||
LOG_TIMESTAMP: "true"
|
||||
DEBUG: "true"
|
||||
# the following are only used to speed up test execution
|
||||
TYPE: CUSTOM
|
||||
CUSTOM_SERVER: /servers/fake.jar
|
||||
VERSION: 1.18.1
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- ./load-env.zip:/test/load-env.zip
|
||||
- ./fake.jar:/servers/fake.jar
|
||||
Whitespace-only changes.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
mc-image-helper assert propertyEquals --file=server.properties --property=motd --expect=from-archive
|
||||
Reference in new issue
Block a user