Repository navigation
Every way to run DocSpring Enterprise: Docker Compose, Kubernetes, AWS ECS, Aptible and Convox - #1
Merged
Merged
Conversation
…eployment.yml says what each deployment runs, scripts/check_deployments and CI check every folder against it, and the Convox install moves into convox/ with run_as_deploy commands, the hourly, daily and weekly tasks and a release step in update.sh
…addy, setup, update, backup and cron scripts
…Jobs for the scheduled tasks, Ingress or HTTPRoute, and a metadata firewall that can give way to a NetworkPolicy
… an ALB, and a deploy script that runs the release command before moving the services
The installer signs in with the AWS CLI's credentials (SSO or a role), sets the DOCSPRING_ settings, builds the first release and runs the release command with it before starting the services, then checks the install and makes a test PDF. A rerun skips finished steps and keeps a custom domain and email setup; plan changes nothing. web's health check is /health/site. The folder gets a README, an AGENTS.md, a .dockerignore that keeps the settings file out of the build upload, and check_deployments checks the health path and install.rb's release command.
docspring-enterprise-install, -upgrade and -operate in .agents/skills (linked from .claude/skills for Claude Code): choosing a setup, what an install needs, the release command before services, checks, rollbacks, one-off commands, settings and common problems. AGENTS.md says going back one release needs no database restore.
… a direct database connection, and remove the admin email and password together - docker-compose/backup.sh saves Redis (the job queues) too, and the README has the full restore: database, uploads and Redis - The operate skill says to back up Redis: a database restored without its queues has submissions that stay pending - The chart's scheduled tasks connect with DATABASE_URL_DIRECT, like GoodJob and the release Job: their overlap check is a PostgreSQL session lock, which a transaction pool doesn't keep - The Kubernetes README says to remove secrets.adminEmail and secrets.adminPassword together, since the chart refuses an email without a password
…s and uploads, so a job can't finish between the copies and leave a pending submission with no job; the Compose scripts are executable; the license grace period counts from the last passing check
…s the container's first process its reaper can't re-run itself
…b's limit on anonymous requests can't fail the aws-ecs check
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
One repository for every way to run DocSpring Enterprise.
reference/deployment.yml: what every deployment runs (services, the release command, the scheduled tasks, health checks), whichscripts/check_deploymentschecks each folder against.docker-compose/: one server with PostgreSQL, Valkey and Caddy, with setup, update, backup and restore.kubernetes/: a Helm chart with the release command as a hook Job and CronJobs for the scheduled tasks.aws-ecs/: a Terraform module for Fargate with RDS, ElastiCache, S3 and an ALB, and a deploy script that runs the release command first.aptible/: a Dockerfile deploy with supercronic running the scheduled tasks.convox/: the install script on convox_installer 4.0..agents/skills/: agent skills for installing, upgrading and running DocSpring Enterprise, and anAGENTS.mdin each folder.The docs that describe these are at https://docspring.com/docs/enterprise/ once the docs change ships.
Checks:
kubernetes/scripts/validate(helm lint and kubeconform) andscripts/check_deploymentspass. The Compose backup and restore of the database, Redis and the uploads volume were run against the Enterprise image.