Fix tests

This commit is contained in:
ItalyPaleAle
2026-09-20 00:15:13 -07:00
parent fadb1a5552
commit bf1f72e6e1
2 changed files with 3 additions and 4 deletions
-2
View File
@@ -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:
+3 -2
View File
@@ -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