-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
feat(service): add WordPress OpenLiteSpeed service template #8271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: next
Are you sure you want to change the base?
feat(service): add WordPress OpenLiteSpeed service template #8271
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Adds a new Coolify one-click WordPress + OpenLiteSpeed + MariaDB compose template intended for production-style deployments.
Changes:
- Introduces a new compose template that runs OpenLiteSpeed alongside MariaDB.
- Adds bootstrap logic to download WordPress into a persistent volume and generate
wp-config.phpon first start. - Configures persistent volumes and basic HTTP healthchecks for both services.
| curl -sL https://wordpress.org/latest.tar.gz | tar -xz -C /tmp | ||
| cp -R /tmp/wordpress/. "$${DOCROOT}" |
Copilot
AI
Feb 11, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The container downloads and unpacks WordPress at runtime from https://wordpress.org/latest.tar.gz. This adds an external availability dependency to every fresh deployment and makes installs non-reproducible as “latest” changes over time. Consider using a prebuilt image that already contains WordPress (or pinning to a specific WordPress version and validating the download, e.g., checksum/signature) to improve reliability.
| if [ ! -f "$${DOCROOT}/wp-config.php" ]; then | ||
| mkdir -p "$${DOCROOT}" | ||
| curl -sL https://wordpress.org/latest.tar.gz | tar -xz -C /tmp | ||
| cp -R /tmp/wordpress/. "$${DOCROOT}" | ||
| rm -rf /tmp/wordpress | ||
| wp config create --path="$${DOCROOT}" --dbname="$${WORDPRESS_DB_NAME}" --dbuser="$${WORDPRESS_DB_USER}" --dbpass="$${WORDPRESS_DB_PASSWORD}" --dbhost="$${WORDPRESS_DB_HOST}" --skip-check --allow-root | ||
| chown -R 1000:1000 "$${DOCROOT}" |
Copilot
AI
Feb 11, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The bootstrap logic only creates wp-config.php (via wp config create) but does not perform a WordPress core install. Unless the image has additional automation, this typically means the user will still see the WordPress web installer on first visit, which conflicts with the PR description (“No setup wizard is shown”). Consider adding an idempotent wp core install step (and exposing admin user/email/password inputs), or adjust the PR description/expectations accordingly.
|
@ShadowArcanisgt This time I have followed all the contribution guidelines please let me know if I miss anything ? Thanks! |
|
/cc @enricoangelon |
The entire Coolify team using macOS with silicon chip for developing Coolify locally, if you are having any issue then please join our https://coollabs.io/discord and share your issue on the "one-click-service" channel. Also you don't have to run Coolify locally to test templates like these, On your Coolify instance create a new resource and select the option "Docker compose empty" then paste the compose file content and deploy it. Just a note: I can't promise any timeline for PR merges because only core developers decide if a PR should be merged or not, and they review PRs when they have sometime (please do not ping them) |
/claim #8264
Changes
wp-config.phpusing inline, idempotent bootstrap logic inside the container.Issues
Category
Screenshots or Video
Note:
I am currently blocked from running a local Coolify instance due to issues installing and running the ServerSideUp Spin tool on macOS (Apple Silicon). This prevents me from recording a local demo at the moment.
The service template has been implemented following existing Coolify one-click service patterns and project guidelines.
A demo video will be uploaded as soon as I am able to complete a deployment on a working Coolify environment.
AI Usage
Steps to Test
nextbranch and pull this PR.Contributor Agreement
Important