mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-13 10:04:31 +02:00
Get searc backend password from env var SEARCH_BACKEND_PASSWORD
This commit is contained in:
@@ -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]
|
||||
|
||||
|
Reference in New Issue
Block a user