mirror of
https://github.com/khairul169/garage-webui.git
synced 2025-12-17 04:51:05 +07:00
Update README with Docker Compose $ escaping instructions
Add note about escaping $ in Docker Compose environment variables.
This commit is contained in:
parent
ee420fbf29
commit
5d90159bb3
@ -169,6 +169,10 @@ webui:
|
|||||||
environment:
|
environment:
|
||||||
AUTH_USER_PASS: "username:$2y$10$DSTi9o..."
|
AUTH_USER_PASS: "username:$2y$10$DSTi9o..."
|
||||||
```
|
```
|
||||||
|
Docker Compose treats $ as the start of an environment variable.
|
||||||
|
Since bcrypt hashes can contain $ characters, Compose will try to substitute them and may emit warnings or truncate the value.
|
||||||
|
To pass a literal $, you must escape it as $$
|
||||||
|
|
||||||
|
|
||||||
### Running
|
### Running
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user