Skip to content

Ports and paths

ServiceHost portNotes
proxy (Caddy) HTTP8080 (DFA_HTTP_PORT)Maps to container port 80.
proxy (Caddy) HTTPS8443 (DFA_HTTPS_PORT)Maps to container port 443. Use port 80 and 443 with a domain in DFA_SITE_ADDRESS.
web, api, workernoneReached through the proxy only.
postgres, redisnoneNever published.
ocr-permisnoneProfile ocr, reached from the API inside the Docker network.

Only the proxy publishes a port. Keep other ports closed at the firewall.

ServicePortNotes
API3000PORT in .env. Runs on the host with pnpm dev.
Web interface5173Vite development server.
PostgreSQL5432Published so that tools can connect.
Redis6379Published so that tools can connect.
Path or volumeContentBacked up by the nightly backup
dmsforall_dfa_postgres_dataPostgreSQL data.Yes, through the dump.
dmsforall_dfa_postgres_backupsEncrypted nightly backups (profile backup).Local copy only.
dmsforall_dfa_api_uploadsUploaded and generated PDF documents.No.
dmsforall_dfa_exports_resiliationExports made when a garage leaves the service.No.
dmsforall_dfa_secretsGenerated database passwords.No. Keep a copy somewhere safe.
dmsforall_dfa_redis_dataRedis data.No.
dmsforall_dfa_caddy_dataTLS certificates obtained by Caddy.No.

In development, PDF files are written to apps/api/uploads/documents-pdf/<tenant>/<document>.pdf.