Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/logto-oss/deployment-and-configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,16 @@ You are all set. Open the browser and visit `https://admin.your-domain.com`, you

For production, you may use Docker to containerize Logto. You can find the Dockerfile in the root directory of the project. If you want to run multiple instances of Logto, for instance, deploy Logto in a Kubernetes cluster, There are some additional steps you need to take.

### Database setup \{#database-setup}

Prepare a Postgres database for Logto. It is strongly recommended to use Logto CLI to initialize the database.

```bash
npm run cli db seed -- --swe
```

Refer to the [Logto CLI](/logto-oss/using-cli) for more details.

### Shared connectors folder \{#shared-connectors-folder}

By default, Logto will create a `connectors` folder in the root directory of the `core` folder. We recommend sharing the folder between multiple instances of Logto, you need to mount the `packages/core/connectors` folder to the container and run `npm run cli connector add -- --official` to deploy the connectors.
Expand Down
Loading