diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..ade7c31 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,11 @@ +.git +.env +data +**/__pycache__ +**/.venv +**/.pytest_cache +**/.ruff_cache +**/node_modules +frontend/dist +*.md +!README.md diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..6ceba51 --- /dev/null +++ b/.env.example @@ -0,0 +1,11 @@ +# Host binding: LAN IP of the Docker host and published port +BIND_IP=192.168.50.123 +APP_PORT=8085 + +# Comma-separated IPs whose X-Forwarded-* headers are trusted (Nginx Proxy Manager). +# 127.0.0.1 effectively disables proxy headers until the NPM source IP is known. +FORWARDED_ALLOW_IPS=127.0.0.1 + +# Logging and timezone +LOG_LEVEL=info +TZ=Europe/Berlin diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4f8ce80 --- /dev/null +++ b/.gitignore @@ -0,0 +1,20 @@ +# Local configuration and runtime data +.env +data/ + +# Python +__pycache__/ +*.py[cod] +.venv/ +.pytest_cache/ +.ruff_cache/ +*.egg-info/ + +# Node / frontend +node_modules/ +frontend/dist/ + +# Editors / OS +.vscode/ +.idea/ +.DS_Store