Skip to content

Deployment

Run the scripts from src/oracle. The services in src/support must be running.

Script Purpose
deploy/scripts/build.sh Build the image
deploy/scripts/up.sh Build, create tenants and start
deploy/scripts/logs.sh Follow logs
deploy/scripts/down.sh Stop. Keeps data
deploy/scripts/purge.sh --yes Delete keys and logs
Service Port
Oracle service 7700
Members inside the network
Witnesses 7610 to 7613
Watchers 7620, 7621
Notaries 7630, 7631

Background work

Every five seconds the service completes interrupted inceptions and entries, requests missing notary certificates, and aggregates if it is due. A crash at any point is recovered by restarting.

Backups

Every subject has its own directory with keys and log under /data/oracles and /data/contracts. Back them up with the passphrase. Never run two copies with the same data.

Production notes

  • Place members, witnesses, watchers and notaries with different operators.
  • Put a TLS proxy in front, and publish only the read and signed endpoints.
  • Use roots to accept only observers with a credential.