mirror of
https://github.com/stan-smith/FossFLOW.git
synced 2026-04-21 07:29:57 -04:00
* 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>
21 lines
615 B
Plaintext
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=
|