You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>
23
31
</Step>
24
32
<Steptitle="Update environment variables">
25
33
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.
55
63
<Frame>
56
64
<imgsrc="/images/coolify/powersync_deploy.png"/>
57
65
</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.
58
69
</Step>
59
70
</Steps>
60
71
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
67
73
68
74
<table>
69
75
<thead>
@@ -77,7 +83,7 @@ The PowerSync Service requires two configuration files to run - `powersync.yaml`
77
83
<tr>
78
84
<td><code>POWERSYNC_CONFIG_PATH</code></td>
79
85
<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>
81
87
</tr>
82
88
<tr>
83
89
<td><code>PS_DATABASE_TYPE</code></td>
@@ -96,7 +102,7 @@ The PowerSync Service requires two configuration files to run - `powersync.yaml`
96
102
</tr>
97
103
<tr>
98
104
<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>
0 commit comments