This repo contains tooling to support setup, validation, and ongoing management of OpenFn local deployments. So far, this includes:
/load-testingscripts and documentation to help test your OpenFn deployment's performance/change-managementscripts and docs to help migrate configuration between OpenFn deployments and automate change management steps
✏️ On [X Date], we installed version [YYYY].
Key components include:
- Docker/Kubernetes ??✏️
- Monitoring: Prometheus & Grafana ??✏️
- Database: Postgres v???✏️ (note if you used OpenFn DB, or existing DB setup)
See this document for your server specifications and completed deployment questionnaire: ✏️ [ADD LINK]
✏️ TODO: Edit these commands below, depending on Docker/Kubernetes and the client's setup
Setting up for the first time
docker compose up -d postgres
docker compose run lightning /app/bin/lightning eval Lightning.Release.migrate
docker compose up -dUpdating
Run ./update_check and confirm if you want the script to change the compose file
./update_check
Tags matching the 'latest' digest:
openfn/lightning:latest -> v2.10.6
docker-compose.yml -> v2.10.5
⚠️ Update available
openfn/ws-worker:latest -> v1.8.6
docker-compose.yml -> v1.8.5
⚠️ Update available
Do you want to update openfn/lightning to v2.10.6? (y/N) y
Updated openfn/lightning to tag v2.10.6 in docker-compose.yml
Backup created at docker-compose.yml.bak
Do you want to update openfn/ws-worker to v1.8.6? (y/N) y
Updated openfn/ws-worker to tag v1.8.6 in docker-compose.yml
Backup created at docker-compose.yml.bakThen run docker compose up -d to restart/recreate the containers.
Copying across files to a server
rsync -azv --exclude-from=.gitignore . $SERVER_IP:~/dockerSelf-signed certs
# Generate a private key
openssl genrsa -out selfsigned.key 2048
# Create a self-signed certificate
openssl req -new -x509 \
-key selfsigned.key -out selfsigned.crt -days 365 \
-subj "/C=LC/L=Castries/O=St. Lucia/CN=$SERVER_IP"✏️ TODO: Specify steps & commands for managing Kubernetes-based deployments
✏️TODO: Add link below See [XYZ] folder for the load testing K6 results.
✏️TODO: EDIT -> Here detail common errors & troubleshooting guidance. (Link to OpenFn docs if public guide is available.)
✏️Add any support guidance if specific support contacts or escalation paths are decided.
See below links for helpful resources, or get in touch with support@openfn.org for any private queries.