2022-07-05 03:40:00 -05:00
|
|
|
tasks:
|
2022-09-05 03:43:35 -05:00
|
|
|
- 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
|
2022-07-05 03:40:00 -05:00
|
|
|
init: |
|
2022-09-05 03:43:35 -05:00
|
|
|
pnpm i
|
|
|
|
pnpm prepack
|
2022-07-05 03:40:00 -05:00
|
|
|
command: |
|
2022-09-05 03:43:35 -05:00
|
|
|
ENDPOINT=$(gp url 3001) pnpm dev
|
2022-07-05 03:40:00 -05:00
|
|
|
env:
|
2022-09-05 03:43:35 -05:00
|
|
|
ALL_YES: 1
|
|
|
|
NO_INQUIRY: 0
|
|
|
|
TRUST_PROXY_HEADER: 1
|
|
|
|
DB_URL_DEFAULT: postgres://postgres:p0stgr3s@127.0.0.1:5432
|
2022-07-05 03:40:00 -05:00
|
|
|
|
|
|
|
ports:
|
|
|
|
- name: Logto
|
|
|
|
description: The Logto core service
|
|
|
|
port: 3001
|
2022-07-07 03:38:58 -05:00
|
|
|
visibility: public
|
2022-09-05 03:43:35 -05:00
|
|
|
- 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
|