mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -05:00
Merge pull request #3223 from logto-io/gao-update-docker-compose
chore: update docker-compose file and README
This commit is contained in:
commit
89715baaa6
2 changed files with 3 additions and 5 deletions
|
@ -52,13 +52,9 @@ Boringly, we call it "[customer identity access management](https://en.wikipedia
|
||||||
|
|
||||||
### Interactive demo
|
### Interactive demo
|
||||||
|
|
||||||
[![Uffizzi](https://cdn.uffizzi.com/demo-button.svg)](https://app.uffizzi.com/demo/github.com/logto-io/logto)
|
|
||||||
|
|
||||||
Recommended. Click and wait for a few seconds to start exploring Logto in your own browser!
|
|
||||||
|
|
||||||
[![GitPod](https://raw.githubusercontent.com/gitpod-io/gitpod/30da76375c996109f243491b23e47feefab7217f/components/dashboard/public/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/logto-io/demo)
|
[![GitPod](https://raw.githubusercontent.com/gitpod-io/gitpod/30da76375c996109f243491b23e47feefab7217f/components/dashboard/public/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/logto-io/demo)
|
||||||
|
|
||||||
If you launch Logto via GitPod, please wait until you see the message like `App is running at https://3001-...gitpod.io` in the terminal, press Cmd (or Ctrl on Windows) and click the URL to continue your Logto journey.
|
If you launch Logto via GitPod, please wait until you see the message like `App is running at https://3002-...gitpod.io` in the terminal, press Cmd (or Ctrl on Windows) and click the URL starts with `https://3002-` to continue your Logto journey.
|
||||||
|
|
||||||
### Launch Logto
|
### Launch Logto
|
||||||
|
|
||||||
|
|
|
@ -9,12 +9,14 @@ services:
|
||||||
entrypoint: ["sh", "-c", "npm run cli db seed -- --swe && npm start"]
|
entrypoint: ["sh", "-c", "npm run cli db seed -- --swe && npm start"]
|
||||||
ports:
|
ports:
|
||||||
- 3001:3001
|
- 3001:3001
|
||||||
|
- 3002:3002
|
||||||
environment:
|
environment:
|
||||||
- TRUST_PROXY_HEADER=1
|
- TRUST_PROXY_HEADER=1
|
||||||
- DB_URL=postgres://postgres:p0stgr3s@postgres:5432/logto
|
- DB_URL=postgres://postgres:p0stgr3s@postgres:5432/logto
|
||||||
# Mandatory for GitPod to map host env to the container, thus GitPod can dynamically configure the public URL of Logto;
|
# Mandatory for GitPod to map host env to the container, thus GitPod can dynamically configure the public URL of Logto;
|
||||||
# Or, you can leverage it for local testing.
|
# Or, you can leverage it for local testing.
|
||||||
- ENDPOINT
|
- ENDPOINT
|
||||||
|
- ADMIN_ENDPOINT
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:14-alpine
|
image: postgres:14-alpine
|
||||||
user: postgres
|
user: postgres
|
||||||
|
|
Loading…
Reference in a new issue