Get searc backend password from env var SEARCH_BACKEND_PASSWORD
This commit is contained in:
parent
0773f12034
commit
a38e3e0c90
2 changed files with 4 additions and 1 deletions
|
@ -22,6 +22,7 @@ services:
|
|||
- USE_COLOR=True
|
||||
- SHOW_PROGRESS=False
|
||||
- SEARCH_BACKEND_HOST_NAME=sonic
|
||||
- SEARCH_BACKEND_PASSWORD=SecretPassword
|
||||
volumes:
|
||||
- ./data:/data
|
||||
depends_on:
|
||||
|
@ -30,6 +31,8 @@ services:
|
|||
image: valeriansaliou/sonic:v1.3.0
|
||||
ports:
|
||||
- 1491:1491
|
||||
environment:
|
||||
- SEARCH_BACKEND_PASSWORD=SecretPassword
|
||||
volumes:
|
||||
- ./etc/sonic/config.cfg:/etc/sonic.cfg
|
||||
- ./data:/var/lib/sonic/store/
|
||||
|
|
|
@ -14,7 +14,7 @@ log_level = "debug"
|
|||
inet = "0.0.0.0:1491"
|
||||
tcp_timeout = 300
|
||||
|
||||
auth_password = "SecretPassword"
|
||||
auth_password = "${env.SEARCH_BACKEND_PASSWORD}"
|
||||
|
||||
[channel.search]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue