Logto modified to work on any postrgres schema.
You can set the schema search path on docker compose like this
services:
app:
image: image/logto:${TAG-latest}
entrypoint: ["sh", "-c", "npm run cli db seed -- --swe && npm start"]
ports:
- 3001:3001
- 3002:3002
environment:
- TRUST_PROXY_HEADER=1
- DB_URL=postgres://postgres:p0stgr3s@postgres:5432/logto
- ENDPOINT
- ADMIN_ENDPOINT
# This is the trick to set the search path as of svhd/logto:1.26
- PGOPTIONS=-c search_path=${DATABASE_SCHEMA}