Skip to content

Commit 304c7c7

Browse files
committed
Enabled metrics and port forwarding for it
1 parent cb19c91 commit 304c7c7

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

docker/compose.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
powersync:
3-
container_name: powersync_demo
3+
container_name: powersync_demo
44
restart: unless-stopped
55
image: journeyapps/powersync-service:latest
66
volumes:
@@ -10,6 +10,7 @@ services:
1010
env_file: ../.env.local
1111
ports:
1212
- 8080:8080
13+
- 9090:9090
1314

1415
networks:
1516
supabase_network_powersync:

docker/powersync.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ replication:
33
connections:
44
- type: postgresql
55
uri: !env PS_POSTGRESQL_URI
6-
sslmode: disable
6+
sslmode: disable
77

88
storage:
99
type: postgresql
1010
uri: !env PS_POSTGRESQL_URI
11-
sslmode: disable
11+
sslmode: disable
1212

1313
port: 8080
1414

@@ -23,6 +23,10 @@ client_auth:
2323
supabase: true
2424
supabase_jwt_secret: !env PS_SUPABASE_JWT_SECRET
2525

26+
telemetry:
27+
prometheus_port: 9090
28+
disable_telemetry_sharing: true
29+
2630
api:
2731
tokens:
28-
- !env PS_API_TOKEN
32+
- !env PS_API_TOKEN

0 commit comments

Comments
 (0)