Files
FossFLOW/.env.example
enix ac770382e8 feat(docker): add HTTP Basic Authentication support (#214)
* feat(docker): add HTTP Basic Authentication support

* fix: address review feedback

* Update docker-entrypoint.sh



* Update .env.example

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix: use bcrypt for htpasswd and ensure .htpasswd file always exists

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-10 05:41:02 +00:00

21 lines
615 B
Plaintext

# Server Storage Configuration
# Set to true to enable server-side storage for multi-device access
# Default is true - diagrams are saved to ./diagrams directory on the host
ENABLE_SERVER_STORAGE=true
# Git backup (optional)
# Set to true to automatically commit changes to git
ENABLE_GIT_BACKUP=false
# Storage path (inside container)
# This is mapped to ./diagrams on the host via Docker volume
STORAGE_PATH=/data/diagrams
# Backend port (usually doesn't need changing)
BACKEND_PORT=3001
# HTTP Basic Auth (optional)
# setup both USER and PASSWORD to enable authentication
HTTP_AUTH_USER=
HTTP_AUTH_PASSWORD=