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
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,10 +34,12 @@ Edit the demo `.env` files and config files in the `./config` directory with you
34
34
35
35
### Connections
36
36
37
-
Populate the `replication->connections` entry with your Postgres database connection details.
37
+
Populate the `replication->connections` entry with your database connection details.
38
38
39
39
A simple Postgres server is provided in the `ps-postgres.yaml` Docker compose file. Be sure to keep the credentials in `powersync.yaml` in sync with the config in `ps-postgres.yaml` if using this server.
40
40
41
+
See the `nodejs-mongodb` demo for MongoDB connection configuration.
42
+
41
43
### Storage
42
44
43
45
The PowerSync Service uses MongoDB under the hood. A basic MongoDB replica-set service is available in `ps-mongo.yaml`. The `powersync.yaml` config is configured to use this service by default. Different MongoDB servers can be configured by removing the `include` statement from `docker-compose.yaml` and updating `powersync.yaml`.
0 commit comments