mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -05:00
chore: run dev mode in gitpod (#1878)
This commit is contained in:
parent
fc6a70d739
commit
fc8a5b802e
1 changed files with 27 additions and 4 deletions
31
.gitpod.yml
31
.gitpod.yml
|
@ -1,14 +1,37 @@
|
||||||
tasks:
|
tasks:
|
||||||
- name: Start Logto
|
- 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: |
|
init: |
|
||||||
docker-compose pull
|
pnpm i
|
||||||
|
pnpm prepack
|
||||||
command: |
|
command: |
|
||||||
ENDPOINT=$(gp url 3001) docker compose -p logto up
|
ENDPOINT=$(gp url 3001) pnpm dev
|
||||||
env:
|
env:
|
||||||
TAG: prerelease
|
ALL_YES: 1
|
||||||
|
NO_INQUIRY: 0
|
||||||
|
TRUST_PROXY_HEADER: 1
|
||||||
|
DB_URL_DEFAULT: postgres://postgres:p0stgr3s@127.0.0.1:5432
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- name: Logto
|
- name: Logto
|
||||||
description: The Logto core service
|
description: The Logto core service
|
||||||
port: 3001
|
port: 3001
|
||||||
visibility: public
|
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
|
||||||
|
|
Loading…
Reference in a new issue