Adapt deployment for Appliku-managed EC2 (Dockerfile + Procfile)#1
Merged
Merged
Conversation
…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
There was a problem hiding this comment.
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(pinnedetherpad/etherpad:2.6.1) andProcfilefor 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.exampleandREADME.mdto 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 likexdg-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>.
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.
The repo was set up for raw EC2 (manual SSH + docker compose). Deployment is actually via Appliku, which builds from a
Dockerfileand drives processes viaProcfile— no manual server access needed.New files
Dockerfile—FROM etherpad/etherpad:2.6.1(pinned; Appliku requires a buildable image in the repo)Procfile—web: node /opt/etherpad-lite/src/node/server.js(tells Appliku how to start the process)Updated files
docker-compose.yml/docker-compose.rds.yml— pinetherpad/etherpad:latest→2.6.1for 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 productionDB_*vars; note thatdocker-compose.ymlis local-dev onlyReviewed and not adopted
appliku/django-docker-tutorial— same patterns, Django/Python stack, nothing applicableappliku/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.