mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
chore: update devcontainer (#4470)
This commit is contained in:
parent
62822a1d7e
commit
b48810146d
1 changed files with 3 additions and 4 deletions
|
@ -1,11 +1,10 @@
|
||||||
{
|
{
|
||||||
"image": "mcr.microsoft.com/devcontainers/universal:2",
|
"image": "mcr.microsoft.com/devcontainers/typescript-node:18",
|
||||||
"features": {
|
"features": {
|
||||||
"ghcr.io/devcontainers/features/node:1": {}
|
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
|
||||||
},
|
},
|
||||||
"updateContentCommand": "npm i -g pnpm && pnpm i && pnpm prepack && pnpm connectors:build && pnpm cli connector link -p .",
|
|
||||||
"postStartCommand": "docker run -d -p 5432:5432 -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=p0stgr3s postgres:14-alpine",
|
"postStartCommand": "docker run -d -p 5432:5432 -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=p0stgr3s postgres:14-alpine",
|
||||||
"postAttachCommand": "pnpm cli db seed && [[ ! -z $CODESPACES ]] && export ENDPOINT=https://$CODESPACE_NAME-3001.preview.app.github.dev",
|
"postAttachCommand": "export ENDPOINT=https://$CODESPACE_NAME-3001.preview.app.github.dev",
|
||||||
"containerEnv": {
|
"containerEnv": {
|
||||||
"DB_URL": "postgres://postgres:p0stgr3s@localhost:5432/logto",
|
"DB_URL": "postgres://postgres:p0stgr3s@localhost:5432/logto",
|
||||||
"TRUST_PROXY_HEADER": "1"
|
"TRUST_PROXY_HEADER": "1"
|
||||||
|
|
Loading…
Reference in a new issue