mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-29 14:05:21 -04:00
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
|
- USE_COLOR=True
|
||||||
- SHOW_PROGRESS=False
|
- SHOW_PROGRESS=False
|
||||||
- SEARCH_BACKEND_HOST_NAME=sonic
|
- SEARCH_BACKEND_HOST_NAME=sonic
|
||||||
|
- SEARCH_BACKEND_PASSWORD=SecretPassword
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/data
|
- ./data:/data
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -30,6 +31,8 @@ services:
|
||||||
image: valeriansaliou/sonic:v1.3.0
|
image: valeriansaliou/sonic:v1.3.0
|
||||||
ports:
|
ports:
|
||||||
- 1491:1491
|
- 1491:1491
|
||||||
|
environment:
|
||||||
|
- SEARCH_BACKEND_PASSWORD=SecretPassword
|
||||||
volumes:
|
volumes:
|
||||||
- ./etc/sonic/config.cfg:/etc/sonic.cfg
|
- ./etc/sonic/config.cfg:/etc/sonic.cfg
|
||||||
- ./data:/var/lib/sonic/store/
|
- ./data:/var/lib/sonic/store/
|
||||||
|
|
|
@ -14,7 +14,7 @@ log_level = "debug"
|
||||||
inet = "0.0.0.0:1491"
|
inet = "0.0.0.0:1491"
|
||||||
tcp_timeout = 300
|
tcp_timeout = 300
|
||||||
|
|
||||||
auth_password = "SecretPassword"
|
auth_password = "${env.SEARCH_BACKEND_PASSWORD}"
|
||||||
|
|
||||||
[channel.search]
|
[channel.search]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue