Skip to content

Adapt deployment for Appliku-managed EC2 (Dockerfile + Procfile)#1

Merged
saurabh-khanna merged 4 commits into
mainfrom
copilot/turn-repo-into-deployable-etherpad
Feb 28, 2026
Merged

Adapt deployment for Appliku-managed EC2 (Dockerfile + Procfile)#1
saurabh-khanna merged 4 commits into
mainfrom
copilot/turn-repo-into-deployable-etherpad

Conversation

Copilot AI commented Feb 28, 2026

Copy link
Copy Markdown
Contributor

The repo was set up for raw EC2 (manual SSH + docker compose). Deployment is actually via Appliku, which builds from a Dockerfile and drives processes via Procfile — no manual server access needed.

New files

  • DockerfileFROM etherpad/etherpad:2.6.1 (pinned; Appliku requires a buildable image in the repo)
  • Procfileweb: node /opt/etherpad-lite/src/node/server.js (tells Appliku how to start the process)

Updated files

  • docker-compose.yml / docker-compose.rds.yml — pin etherpad/etherpad:latest2.6.1 for consistency
  • .env.example — split into two clearly labelled sections: local-dev (POSTGRES_* bundled sidecar) vs production (DB_* set in Appliku dashboard)
  • README.md — replace manual EC2 shell-script section with a 4-step Appliku guide; expand config table to include production DB_* vars; note that docker-compose.yml is local-dev only

Reviewed and not adopted

  • appliku/django-docker-tutorial — same patterns, Django/Python stack, nothing applicable
  • appliku/pgbackups3 — PostgreSQL → S3 backup sidecar; no backups requested, left out per "use only if needed"

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…deployment

Co-authored-by: saurabh-khanna <54084054+saurabh-khanna@users.noreply.github.com>
Copilot AI changed the title [WIP] Prepare repo for self-contained deployable Etherpad instance Add self-contained Etherpad deployment via Docker Compose Feb 28, 2026
Co-authored-by: saurabh-khanna <54084054+saurabh-khanna@users.noreply.github.com>
Copilot AI changed the title Add self-contained Etherpad deployment via Docker Compose Add self-contained Etherpad deployment with EC2 guide and RDS support Feb 28, 2026
…E and .env.example

Co-authored-by: saurabh-khanna <54084054+saurabh-khanna@users.noreply.github.com>
Copilot AI changed the title Add self-contained Etherpad deployment with EC2 guide and RDS support Add Appliku deployment support (Dockerfile, Procfile, DB wiring) Feb 28, 2026
Copilot AI changed the title Add Appliku deployment support (Dockerfile, Procfile, DB wiring) Adapt deployment for Appliku-managed EC2 (Dockerfile + Procfile) Feb 28, 2026
@saurabh-khanna saurabh-khanna marked this pull request as ready for review February 28, 2026 16:45
Copilot AI review requested due to automatic review settings February 28, 2026 16:45
@saurabh-khanna saurabh-khanna merged commit 25c9734 into main Feb 28, 2026
3 checks passed
@saurabh-khanna saurabh-khanna deleted the copilot/turn-repo-into-deployable-etherpad branch February 28, 2026 16:45

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository to support Appliku-managed deployments by providing an in-repo Docker build (Dockerfile) and an explicit process start command (Procfile), while aligning local development and documentation with the new deployment model.

Changes:

  • Add Dockerfile (pinned etherpad/etherpad:2.6.1) and Procfile for Appliku builds/process management.
  • Introduce/adjust Compose configs for local dev (docker-compose.yml) and external Postgres (docker-compose.rds.yml) using the same pinned Etherpad version.
  • Rework .env.example and README.md to document local vs production (Appliku) configuration via environment variables.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
Dockerfile Adds a buildable image definition for Appliku using a pinned Etherpad base image.
Procfile Defines the web process command for Appliku to start Etherpad.
docker-compose.yml Local-dev Compose setup with bundled Postgres and pinned Etherpad image.
docker-compose.rds.yml Compose variant targeting an external Postgres (e.g., RDS) with pinned Etherpad image.
.env.example Splits guidance for local bundled Postgres vs production DB_* variables.
README.md Replaces manual EC2 steps with an Appliku workflow and expands configuration docs.
Comments suppressed due to low confidence (2)

README.md:21

  • The quick start uses open http://localhost:9001, which is macOS-specific and will fail on Linux/Windows. Consider changing this to a platform-neutral instruction (e.g., “visit http://localhost:9001 in your browser”) or mention alternatives like xdg-open/start.
# 3. Open Etherpad in your browser
open http://localhost:9001
**.env.example:18**
* This line sets `TRUST_PROXY=false` immediately after noting it’s “always true on Appliku”. If this file is meant to be copied as-is for local dev, consider rewording the comment to avoid implying the value should be `true` here (or set it to `true` and add an explicit note for local dev).

Set to true if Etherpad is behind a reverse proxy (always true on Appliku)

TRUST_PROXY=false

</details>



---

💡 <a href="/invisibleinfo/notes/new/main?filename=.github/instructions/*.instructions.md" class="Link--inTextBlock" target="_blank" rel="noopener noreferrer">Add Copilot custom instructions</a> for smarter, more guided reviews. <a href="https://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot" class="Link--inTextBlock" target="_blank" rel="noopener noreferrer">Learn how to get started</a>.

Comment thread README.md
Comment thread docker-compose.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants