Skip to content

Commit 39696d5

Browse files
author
Hein
committed
Add default explanation
1 parent b52fb30 commit 39696d5

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

self-hosting/installation/coolify.mdx

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ Think of it as a self-hosted alternative to platforms like Heroku or Netlify.
2020
<Frame>
2121
<img src="/images/coolify/powersync_resource.png"/>
2222
</Frame>
23+
<Note>
24+
The default one-click deployable PowerSync Service uses
25+
* MongoDB for internal storage,
26+
* PostgreSQL for replication, and
27+
* [Sync Rules](/usage/sync-rules) as defined for the To-Do List demo application found in [Demo Apps / Example Projects](/resources/demo-apps-example-projects).
28+
29+
If you are running the demo To-Do List application, you can jump to Step 4 and simply deploy the PowerSync Service.
30+
</Note>
2331
</Step>
2432
<Step title="Update environment variables">
2533
Navigate to the `Environment Variables` tab and update the environment variables as per your requirements. For more information on what environment variables are available, see
@@ -55,15 +63,13 @@ Think of it as a self-hosted alternative to platforms like Heroku or Netlify.
5563
<Frame>
5664
<img src="/images/coolify/powersync_deploy.png"/>
5765
</Frame>
66+
The PowerSync Service will now be available at
67+
* `http://localhost:8080` if default config was used, or
68+
* `http://{your_coolify_domain}:{PS_PORT}` if a custom domain or port was specified.
5869
</Step>
5970
</Steps>
6071

61-
62-
## Configuration
63-
64-
The PowerSync Service requires two configuration files to run - `powersync.yaml` and `sync_rules.yaml`
65-
66-
### Environment Variables
72+
## Environment Variables
6773

6874
<table>
6975
<thead>
@@ -77,7 +83,7 @@ The PowerSync Service requires two configuration files to run - `powersync.yaml`
7783
<tr>
7884
<td><code>POWERSYNC_CONFIG_PATH</code></td>
7985
<td>This is the path (inside the container) to the YAML config file</td>
80-
<td>/config/powersync.yaml</td>
86+
<td>/home/config/powersync.yaml</td>
8187
</tr>
8288
<tr>
8389
<td><code>PS_DATABASE_TYPE</code></td>
@@ -96,7 +102,7 @@ The PowerSync Service requires two configuration files to run - `powersync.yaml`
96102
</tr>
97103
<tr>
98104
<td><code>PS_MONGO_URI</code></td>
99-
<td>The port the PowerSync API is accessible on</td>
105+
<td>The MongoDB URI used internally by the PowerSync Service</td>
100106
<td>mongodb://mongo:27017</td>
101107
</tr>
102108
<tr>

0 commit comments

Comments
 (0)