Skip to content

Commit 8514c2a

Browse files
use next image (#30)
1 parent 8986ce6 commit 8514c2a

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# PowerSync Self Hosted Example
22

3+
## v0.5.1
4+
5+
- Use Next (development) PowerSync service image for testing.
6+
37
## v0.5.0
48

59
- Added alpha demo for MongoDB replication

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,12 @@ Edit the demo `.env` files and config files in the `./config` directory with you
3434

3535
### Connections
3636

37-
Populate the `replication->connections` entry with your Postgres database connection details.
37+
Populate the `replication->connections` entry with your database connection details.
3838

3939
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.
4040

41+
See the `nodejs-mongodb` demo for MongoDB connection configuration.
42+
4143
### Storage
4244

4345
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`.

services/powersync.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
services:
22
powersync:
33
restart: unless-stopped
4-
image: journeyapps/powersync-service:latest
4+
# This currently uses a development image for the Next version of the PowerSync
5+
# service. This Next version contains a new module system which will enable plugable
6+
# functionality in the future. Functionality in this version should be the same as the
7+
# latest stable version.
8+
# Please report any issues experienced. Thank you for testing.
9+
# Feel free to revert to the stable version by using
10+
# image: journeyapps/powersync-service:latest
11+
image: journeyapps/powersync-service:0.0.0-dev-20240920084840
512
# The unified service runs an API server and replication worker in the same container.
613
# These services can be executed in different containers by using individual entry commands e.g.
714
# Start only the API server with

0 commit comments

Comments
 (0)