Skip to content

murage-poc/logto-modified

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

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}

About

Trying to get Logto to utilize specified postgres schema (NB: it runs but doesn't work)

Resources

Stars

Watchers

Forks