mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-09-21 10:29:05 +02:00
Fix tests
This commit is contained in:
@@ -15,7 +15,6 @@ services:
|
||||
image: ghcr.io/italypaleale/francis:${FRANCIS_VERSION:?run ./francis-version.sh to set it, see CONTRIBUTING.md}
|
||||
volumes:
|
||||
- ./francis-config.yaml:/etc/francis/config.yaml:ro
|
||||
- francis-test-data:/data
|
||||
# The image ships its own HEALTHCHECK, which probes the runtime over the loopback
|
||||
# It's repeated here so Pocket ID can wait on it, and so a runtime that never comes up fails fast instead of after the default retries
|
||||
healthcheck:
|
||||
@@ -47,4 +46,3 @@ services:
|
||||
|
||||
volumes:
|
||||
pocket-id-test-data:
|
||||
francis-test-data:
|
||||
|
||||
@@ -15,9 +15,10 @@ bootstrap:
|
||||
hostPSK: "e2e-host-bootstrap-psk-0123456789"
|
||||
|
||||
# The runtime owns its own SQLite store, which is separate from Pocket ID's database
|
||||
# It lives on a volume because the image runs as a non-root user that cannot write to the image filesystem
|
||||
# It lives in /tmp because the image runs as a non-root user (uid 65532) and that is the only world-writable directory in it
|
||||
# The store only has to survive as long as the containers do, so there is nothing to persist beyond the test run
|
||||
provider:
|
||||
connectionString: "/data/francis.db"
|
||||
connectionString: "/tmp/francis.db"
|
||||
|
||||
# A single Pocket ID replica joins the cluster, matching the cap the embedded runtime applies when HA is off
|
||||
maxHosts: 1
|
||||
|
||||
Reference in New Issue
Block a user