Files
FossFLOW/compose.yml
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

16 lines
444 B
YAML

services:
fossflow:
image: stnsmith/fossflow:latest
pull_policy: always
ports:
- 80:80
environment:
- NODE_ENV=production
- ENABLE_SERVER_STORAGE=${ENABLE_SERVER_STORAGE:-true}
- STORAGE_PATH=/data/diagrams
- ENABLE_GIT_BACKUP=${ENABLE_GIT_BACKUP:-false}
- HTTP_AUTH_USER=${HTTP_AUTH_USER:-}
- HTTP_AUTH_PASSWORD=${HTTP_AUTH_PASSWORD:-}
volumes:
- ./diagrams:/data/diagrams