Skip to content

Commit b52fb30

Browse files
author
Hein
committed
Update environment variables
1 parent 0d14bc0 commit b52fb30

File tree

1 file changed

+16
-25
lines changed

1 file changed

+16
-25
lines changed

self-hosting/installation/coolify.mdx

Lines changed: 16 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -80,42 +80,33 @@ The PowerSync Service requires two configuration files to run - `powersync.yaml`
8080
<td>/config/powersync.yaml</td>
8181
</tr>
8282
<tr>
83-
<td><code>DATABASE_HOSTNAME</code></td>
84-
<td>The host on which the database is running</td>
85-
<td>localhost</td>
83+
<td><code>PS_DATABASE_TYPE</code></td>
84+
<td>Database replication type</td>
85+
<td>postgresql</td>
8686
</tr>
8787
<tr>
88-
<td><code>DATABASE_NAME</code></td>
89-
<td>The database name</td>
90-
<td>postgres</td>
88+
<td><code>PS_BACKEND_DATABASE_URI</code></td>
89+
<td>Database connection URI</td>
90+
<td>postgresql://postgres:postgres@localhost:5432/postgres</td>
9191
</tr>
9292
<tr>
93-
<td><code>DATABASE_PORT</code></td>
94-
<td>Port on which the DB is accessible from</td>
95-
<td>5432</td>
96-
</tr>
97-
<tr>
98-
<td><code>DATABASE_USER</code></td>
99-
<td>DB User</td>
100-
<td>postgres</td>
101-
</tr>
102-
<tr>
103-
<td><code>DATABASE_PASSWORD</code></td>
104-
<td>DB user password</td>
105-
<td>postgres</td>
93+
<td><code>PS_PORT</code></td>
94+
<td>The port the PowerSync API is accessible on</td>
95+
<td>8080</td>
10696
</tr>
10797
<tr>
108-
<td><code>DATA_SOURCE_URI</code></td>
109-
<td>The datasource connection URI</td>
110-
<td>postgres</td>
98+
<td><code>PS_MONGO_URI</code></td>
99+
<td>The port the PowerSync API is accessible on</td>
100+
<td>mongodb://mongo:27017</td>
111101
</tr>
112102
<tr>
113-
<td><code>POWERSYNC_PORT</code></td>
114-
<td>The port the PowerSync API is accessible on</td>
115-
<td>8080</td>
103+
<td><code>PS_JWKS_URL</code></td>
104+
<td>Auth URL</td>
105+
<td>http://localhost:6060/api/auth/keys</td>
116106
</tr>
117107
</tbody>
118108
</table>
109+
119110
## Health checks
120111

121112
For more information on checking the health of the PowerSync Service, see [Healthchecks](/self-hosting/lifecycle-maintenance/healthchecks).

0 commit comments

Comments
 (0)