# 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"
