Files
cyclone/docker-compose.override.yml
T
Nora 315fbfec42 fix(docker): wire CYCLONE_SFTP_PASSWORD via docker secret in compose override
Mirrors the existing admin_username / admin_pw pattern so the dev
compose loads SFTP creds from /tmp/cyclone-test-secrets/sftp_password
when present. Falls back to the CYCLONE_SFTP_PASSWORD env var if the
file is missing. Pre-existing env-var support from SP25+26 unchanged.
2026-06-29 09:51:09 -06:00

25 lines
910 B
YAML

# Local override for `docker compose up` testing on a host without root.
# Repoints the secrets at /tmp/cyclone-test-secrets so the operator
# (me, running as a non-root user) can verify the stack comes up
# healthy without needing sudo to create /etc/cyclone/secrets.
# Also remaps the frontend host port 8080 → 8090 so it doesn't collide
# with nocodb on this dev host.
#
# DO NOT ship this in production. In production, the secrets section
# in docker-compose.yml points at /etc/cyclone/secrets/ (host-managed,
# chmod 600, root:root) and no override is used.
secrets:
cyclone_db_key:
file: /tmp/cyclone-test-secrets/db.key
cyclone_admin_username:
file: /tmp/cyclone-test-secrets/admin_username
cyclone_admin_password:
file: /tmp/cyclone-test-secrets/admin_pw
cyclone_sftp_password:
file: /tmp/cyclone-test-secrets/sftp_password
services:
frontend:
ports:
- "8090:80"