mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-05-20 19:05:23 +00:00
Add pull policy to examples in docs (#3739)
This commit is contained in:
@@ -19,7 +19,7 @@ If you want to use a file's content for value, such as when using secrets mounte
|
||||
|
||||
For example, a `my.cnf` file could contain:
|
||||
|
||||
```
|
||||
```toml
|
||||
[client]
|
||||
password = ${CFG_DB_PASSWORD}
|
||||
```
|
||||
@@ -50,8 +50,7 @@ REPLACE_ENV_VARIABLES_EXCLUDE_PATHS="/data/plugins/Essentials/userdata /data/plu
|
||||
|
||||
Here is a full example where we want to replace values inside a `database.yml`.
|
||||
|
||||
```yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
database:
|
||||
host: ${CFG_DB_HOST}
|
||||
@@ -59,10 +58,10 @@ database:
|
||||
password: ${CFG_DB_PASSWORD}
|
||||
```
|
||||
|
||||
This is how your `docker-compose.yml` file could look like:
|
||||
This is how your `compose.yaml` file could look like:
|
||||
|
||||
```yml
|
||||
# Other docker-compose examples in /examples
|
||||
```yaml title="compose.yaml"
|
||||
# Other docker compose examples in /examples
|
||||
|
||||
services:
|
||||
minecraft:
|
||||
|
||||
Reference in New Issue
Block a user