0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-27 21:39:16 -05:00
logto/.gitpod.yml
wangsijie e5f8139880
chore: merge master into sie-v2 (#2182)
Co-authored-by: Xiao Yijun <xiaoyijun@silverhand.io>
Co-authored-by: IceHe <icehe@silverhand.io>
Co-authored-by: Gao Sun <gao@silverhand.io>
Co-authored-by: simeng-li <simeng@silverhand.io>
Co-authored-by: Charles Zhao <charleszhao@silverhand.io>
Co-authored-by: Mahesh Vagicherla <59088937+b4s36t4@users.noreply.github.com>
Co-authored-by: FlurryNight <47457170+FlurryNight@users.noreply.github.com>
Co-authored-by: Lukas <lukas@slucky.de>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-18 15:44:49 +08:00

41 lines
956 B
YAML

tasks:
- name: DB Server
init: docker pull postgres:14-alpine
command: docker run -p 5432:5432 -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=p0stgr3s postgres:14-alpine
- name: Logto Dev Mode
init: |
pnpm i
pnpm prepack
cd packages/core
pnpm build
cd -
pnpm cli connector add --official
command: |
export ENDPOINT=$(gp url 3001)
pnpm cli db seed
pnpm -r --parallel --filter=!@logto/integration-tests dev
env:
TRUST_PROXY_HEADER: 1
DB_URL: postgres://postgres:p0stgr3s@127.0.0.1:5432
ports:
- name: Logto
description: The Logto core service
port: 3001
visibility: public
- name: Postgres
port: 5432
visibility: public
onOpen: ignore
- port: 5001
onOpen: ignore
- port: 5002
onOpen: ignore
- port: 5003
onOpen: ignore
- port: 6001
onOpen: ignore
- port: 6002
onOpen: ignore
- port: 6003
onOpen: ignore