vector-im-hydrogen-web/docker/dynamic-config.sh

9 lines
177 B
Bash
Raw Permalink Normal View History

2023-01-11 19:06:25 +01:00
#!/bin/sh
set -eux
# Use config override environment variable if set
if [ -n "${CONFIG_OVERRIDE:-}" ]; then
echo "$CONFIG_OVERRIDE" > /usr/share/nginx/html/config.json
fi