Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
@ -0,0 +1,12 @@
#!/bin/bash
set -e
URL=$(relation-get url) || exit 1
config-add "\
services:
$MASTER_BASE_SERVICE_NAME:
environment:
BASE_URL: $URL
"
@ -0,0 +1,16 @@
docker-image: docker.0k.io/searx:0.18.0-237 ## from: searx/searx:0.18.0-237-e2fb5008
config-resources:
- /etc/searx
default-options:
uses:
web-proxy:
#constraint: required | recommended | optional
#auto: pair | summon | none ## default: pair
constraint: recommended
auto: pair
solves:
proxy: "Public access"
target: !var-expand ${MASTER_BASE_SERVICE_NAME}:8080