Fix privileged shared config deployment
This commit is contained in:
1 parent
d6ea71b9a4
commit
c7a72b465e
1 file changed
+5
-5
+5
-5
@@ -154,11 +154,11 @@ fi
|
|||||||
if [ '${COPY_SHARED[$TARGET]}' = '1' ]; then
|
if [ '${COPY_SHARED[$TARGET]}' = '1' ]; then
|
||||||
echo '[3/5] Copying shared configs into place...'
|
echo '[3/5] Copying shared configs into place...'
|
||||||
mkdir -p /opt/searxng/config /opt/prometheus/config /opt/loki/config /opt/alloy/config
|
mkdir -p /opt/searxng/config /opt/prometheus/config /opt/loki/config /opt/alloy/config
|
||||||
cp shared/searxng/settings.yml /opt/searxng/config/settings.yml
|
${SUDO} cp shared/searxng/settings.yml /opt/searxng/config/settings.yml
|
||||||
cp shared/searxng/limiter.toml /opt/searxng/config/limiter.toml
|
${SUDO} cp shared/searxng/limiter.toml /opt/searxng/config/limiter.toml
|
||||||
cp shared/prometheus/prometheus.yml /opt/prometheus/config/prometheus.yml
|
${SUDO} cp shared/prometheus/prometheus.yml /opt/prometheus/config/prometheus.yml
|
||||||
cp shared/loki/loki-config.yaml /opt/loki/config/loki-config.yaml
|
${SUDO} cp shared/loki/loki-config.yaml /opt/loki/config/loki-config.yaml
|
||||||
cp shared/alloy/config.alloy /opt/alloy/config/config.alloy
|
${SUDO} cp shared/alloy/config.alloy /opt/alloy/config/config.alloy
|
||||||
|
|
||||||
echo ' Rendering Caddyfile (basicauth hash from .env)...'
|
echo ' Rendering Caddyfile (basicauth hash from .env)...'
|
||||||
# Extract the hash with grep/cut rather than sourcing .env: sourcing a
|
# Extract the hash with grep/cut rather than sourcing .env: sourcing a
|
||||||
|
|||||||
Reference in new issue
Block a user