mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-15 11:04:17 +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
|
- 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]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user