mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-11-10 06:14:14 +00:00
docs: clarify placeholder intro (#2488)
This commit is contained in:
parent
85a957fe6f
commit
4c0bd61faf
2 changed files with 7 additions and 2 deletions
|
@ -6,9 +6,9 @@ If you prefer to manually manage the `server.properties` file, set `OVERRIDE_SER
|
|||
|
||||
## Placeholders
|
||||
|
||||
Any of the server properties mapped from the environment variables [below](#properties), may contain placeholders that are replaced when the `server.properties` file is updated. The syntax of placeholders is DOS-style, `%VAR%` to avoid being processed by Docker or the shell.
|
||||
When declaring a server properties via container environment variables, those values may contain placeholders that are processed when the `server.properties` file is updated.
|
||||
|
||||
The following options are available for placeholders:
|
||||
The syntax of placeholders is DOS-style, `%VAR%`, to avoid being processed by Docker or the shell and the following options are available:
|
||||
|
||||
`%VAR%`
|
||||
|
||||
|
@ -33,6 +33,10 @@ Any declared or resolved environment variable may be referenced, such as `VERSIO
|
|||
LEVEL: world-%date:yyyy-MM-dd%
|
||||
```
|
||||
|
||||
!!! warning
|
||||
|
||||
Placeholders are not supported when manually managing `server.properties`
|
||||
|
||||
## Properties
|
||||
|
||||
### Message of the Day
|
||||
|
|
|
@ -19,6 +19,7 @@ spec:
|
|||
containers:
|
||||
- name: mc
|
||||
image: itzg/minecraft-server
|
||||
imagePullPolicy: Always
|
||||
env:
|
||||
- name: EULA
|
||||
value: "TRUE"
|
||||
|
|
Loading…
Reference in a new issue