docker: fix data persistence with TINYWEB_DATA_DIR env var

This commit is contained in:
blankie 2026-06-14 07:48:34 +00:00
parent af6ad6d391
commit 71c1175df8
4 changed files with 4 additions and 5 deletions

View file

@ -29,6 +29,7 @@ if [ ! -f "$CONFIG_FILE" ]; then
EOF
fi
export TINYWEB_DATA_DIR="/data"
export RNS_CONFIG_DIR="$CONFIG_DIR"
# Bind to 0.0.0.0 inside the container; isolation is handled by Docker's port mapping.
exec python app.py --bind 0.0.0.0 "$@"