mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-10-06 17:59:03 +02:00
chore: add vite-plus as node toolchain (#1806)
This commit is contained in:
@@ -18,7 +18,7 @@ services:
|
||||
# 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:
|
||||
test: ["CMD", "/bin/francis", "healthcheck"]
|
||||
test: ['CMD', '/bin/francis', 'healthcheck']
|
||||
interval: 2s
|
||||
timeout: 5s
|
||||
retries: 15
|
||||
|
||||
@@ -15,7 +15,7 @@ services:
|
||||
- POSTGRES_PASSWORD=postgres
|
||||
- POSTGRES_DB=pocket-id
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
test: ['CMD-SHELL', 'pg_isready -U postgres']
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
@@ -19,8 +19,8 @@ services:
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD-SHELL",
|
||||
'curl -fs http://localstack-s3:4566/_localstack/init/ready | grep -q ''"completed": true''',
|
||||
'CMD-SHELL',
|
||||
'curl -fs http://localstack-s3:4566/_localstack/init/ready | grep -q ''"completed": true'''
|
||||
]
|
||||
interval: 1s
|
||||
timeout: 3s
|
||||
|
||||
@@ -12,13 +12,13 @@ services:
|
||||
scim-test-server:
|
||||
image: ghcr.io/pocket-id/scim-test-server:latest
|
||||
ports:
|
||||
- "18123:8080"
|
||||
- '18123:8080'
|
||||
pocket-id:
|
||||
image: pocket-id:test
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
- 'host.docker.internal:host-gateway'
|
||||
ports:
|
||||
- "1411:1411"
|
||||
- '1411:1411'
|
||||
environment:
|
||||
APP_ENV: test
|
||||
ENCRYPTION_KEY: test-encryption-key
|
||||
|
||||
@@ -3,22 +3,22 @@
|
||||
# These secrets are fixed test values and must match the FRANCIS_HOST_PSK passed to Pocket ID in docker-compose-francis.yml.
|
||||
|
||||
# The WebTransport server runs over HTTP/3, so this port is UDP
|
||||
bind: "0.0.0.0:7400"
|
||||
bind: '0.0.0.0:7400'
|
||||
|
||||
# The runtime PSKs derive the cluster CA that signs every workload certificate
|
||||
runtimePSKs:
|
||||
- "e2e-runtime-psk-0123456789abcdef"
|
||||
- 'e2e-runtime-psk-0123456789abcdef'
|
||||
|
||||
# Hosts prove they may join by presenting this pre-shared key
|
||||
bootstrap:
|
||||
method: psk
|
||||
hostPSK: "e2e-host-bootstrap-psk-0123456789"
|
||||
hostPSK: 'e2e-host-bootstrap-psk-0123456789'
|
||||
|
||||
# The runtime owns its own SQLite store, which is separate from Pocket ID's database
|
||||
# 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: "/tmp/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