mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -05:00
chore: fix container envs for codespaces (#4487)
This commit is contained in:
parent
fa3bc20986
commit
acae0b784f
1 changed files with 3 additions and 3 deletions
|
@ -4,9 +4,9 @@
|
|||
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
|
||||
},
|
||||
"postStartCommand": "docker run -d -p 5432:5432 -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=p0stgr3s postgres:14-alpine",
|
||||
"postAttachCommand": "export ENDPOINT=https://$CODESPACE_NAME-3001.preview.app.github.dev",
|
||||
"containerEnv": {
|
||||
"DB_URL": "postgres://postgres:p0stgr3s@localhost:5432/logto",
|
||||
"TRUST_PROXY_HEADER": "1"
|
||||
"TRUST_PROXY_HEADER": "1",
|
||||
"ADMIN_ENDPOINT": "http://localhost:3002"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue