Skip to content

Docker compose + ENV generator#2889

Open
atharvadeosthale wants to merge 4 commits intomainfrom
atharva/compose-generator
Open

Docker compose + ENV generator#2889
atharvadeosthale wants to merge 4 commits intomainfrom
atharva/compose-generator

Conversation

@atharvadeosthale
Copy link
Copy Markdown
Member

image

@appwrite
Copy link
Copy Markdown

appwrite bot commented Apr 14, 2026

Appwrite Website

Project ID: 69d7efb00023389e8d27

Sites (1)
Site Status Logs Preview QR
 website
69d7f2670014e24571ca
Building Building View Logs Preview URL QR Code

Website (appwrite/website)

Project ID: 684969cb000a2f6c0a02

Sites (1)
Site Status Logs Preview QR
 website
68496a17000f03d62013
Queued Queued View Logs Preview URL QR Code


Tip

Messaging handles push notifications, emails, and SMS through one unified API

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Apr 14, 2026

Greptile Summary

This PR replaces the static docker-compose.yml and .env download files with an interactive in-browser generator that supports both MariaDB and MongoDB, optionally includes the Appwrite Assistant service, and adds download/copy actions. Most previously flagged issues (MongoDB port exposure, missing restart policy, orphaned config volume, duplicate _APP_DB_ADAPTER entries, Firefox download bug, and the missing _APP_EXECUTOR_SECRET instruction) have been resolved. Two P2 findings remain: MARIADB_SERVICE is missing <<: *x-logging (a regression present in the original compose file), and the MongoDB initialization script uses fixed sleep 5 waits that can race on slow storage.

Confidence Score: 5/5

Safe to merge; all remaining findings are P2 style/reliability improvements that don't block correctness

All previously flagged P0/P1 concerns have been addressed. The two remaining findings (missing log-merge key on MariaDB and fragile sleep waits in the MongoDB init script) are non-blocking P2 suggestions

src/lib/components/compose-generator/composeData.ts — missing <<: *x-logging on MARIADB_SERVICE and fixed sleep waits in MongoDB entrypoint

Important Files Changed

Filename Overview
src/lib/components/compose-generator/composeData.ts Core generator logic for compose/env files; MariaDB service missing <<: *x-logging (regression) and MongoDB init uses fragile fixed sleep 5 waits
src/markdoc/tags/Compose_Generator.svelte New interactive UI component; download anchor is now correctly appended to the DOM before click, fixing the previously flagged Firefox issue
src/routes/docs/advanced/self-hosting/installation/+page.markdoc Replaces static download links with the interactive generator component; now correctly names both _APP_OPENSSL_KEY_V1 and _APP_EXECUTOR_SECRET as required secrets
src/markdoc/tags/_Module.svelte Trivial one-line export added for the new Compose_Generator component
src/redirects.json Adds redirects from deleted static /install/compose and /install/env endpoints to the new installation docs page
static/install/env Deleted static env file; superseded by the in-browser ENV generator with redirects in place

Reviews (3): Last reviewed commit: "address comments - better wording" | Re-trigger Greptile

Comment thread src/lib/components/compose-generator/composeData.ts Outdated
Comment thread src/lib/components/compose-generator/composeData.ts Outdated
Comment thread src/lib/components/compose-generator/composeData.ts
Comment thread src/lib/components/compose-generator/composeData.ts Outdated
Comment thread src/markdoc/tags/Compose_Generator.svelte
Comment thread src/routes/docs/advanced/self-hosting/installation/+page.markdoc Outdated
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.

2 participants