diff --git a/images/coolify/expand_content.png b/images/coolify/expand_content.png
new file mode 100644
index 00000000..4e9dc775
Binary files /dev/null and b/images/coolify/expand_content.png differ
diff --git a/images/coolify/powersync_config.png b/images/coolify/powersync_config.png
new file mode 100644
index 00000000..e0eb5f50
Binary files /dev/null and b/images/coolify/powersync_config.png differ
diff --git a/images/coolify/powersync_deploy.png b/images/coolify/powersync_deploy.png
new file mode 100644
index 00000000..8e2ac8d4
Binary files /dev/null and b/images/coolify/powersync_deploy.png differ
diff --git a/images/coolify/powersync_env.png b/images/coolify/powersync_env.png
new file mode 100644
index 00000000..54d34174
Binary files /dev/null and b/images/coolify/powersync_env.png differ
diff --git a/images/coolify/powersync_resource.png b/images/coolify/powersync_resource.png
new file mode 100644
index 00000000..6ecd097b
Binary files /dev/null and b/images/coolify/powersync_resource.png differ
diff --git a/images/coolify/powersync_storage.png b/images/coolify/powersync_storage.png
new file mode 100644
index 00000000..64333ef7
Binary files /dev/null and b/images/coolify/powersync_storage.png differ
diff --git a/images/coolify/powersync_sync_rules.png b/images/coolify/powersync_sync_rules.png
new file mode 100644
index 00000000..b505dae6
Binary files /dev/null and b/images/coolify/powersync_sync_rules.png differ
diff --git a/mint.json b/mint.json
index d0b42630..725c1944 100644
--- a/mint.json
+++ b/mint.json
@@ -338,10 +338,16 @@
"self-hosting/getting-started",
{
"group": "Installation",
- "pages": [
+ "pages": [{
+ "group": "Powersync-service",
+ "pages": [
+ "self-hosting/installation/powersync-service-setup",
+ "self-hosting/installation/coolify"
+ ]
+ },
"self-hosting/installation",
"self-hosting/installation/database-setup",
- "self-hosting/installation/powersync-service-setup",
+
"self-hosting/installation/client-side-setup",
"self-hosting/installation/app-backend-setup"
]
diff --git a/self-hosting/installation/coolify.mdx b/self-hosting/installation/coolify.mdx
new file mode 100644
index 00000000..9c8007c6
--- /dev/null
+++ b/self-hosting/installation/coolify.mdx
@@ -0,0 +1,118 @@
+---
+title: "Coolify"
+description: "Configuration details for deploying the PowerSync Service on Coolify"
+---
+
+[Coolify](https://coolify.io/) is an open-source, self-hosted platform that simplifies the deployment and management of applications, databases, and services on your own infrastructure.
+Think of it as a self-hosted alternative to platforms like Heroku or Netlify.
+
+
+
+
+
+
+
+
+
+
+
+ * Update the `powersync.yaml` file:
+
+
+
+
+
+ The PowerSync Service will now be available at
+ * `http://localhost:8080` if default config was used, or
+ * `http://{your_coolify_domain}:{PS_PORT}` if a custom domain or port was specified.
+
Environment Variable | +Description | +Example | +
---|---|---|
POWERSYNC_CONFIG_PATH |
+ This is the path (inside the container) to the YAML config file | +/home/config/powersync.yaml | +
PS_DATABASE_TYPE |
+ Database replication type | +postgresql | +
PS_BACKEND_DATABASE_URI |
+ Database connection URI | +postgresql://postgres:postgres@localhost:5432/postgres | +
PS_PORT |
+ The port the PowerSync API is accessible on | +8080 | +
PS_MONGO_URI |
+ The MongoDB URI used internally by the PowerSync Service | +mongodb://mongo:27017 | +
PS_JWKS_URL |
+ Auth URL | +http://localhost:6060/api/auth/keys | +