0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/.devcontainer/devcontainer.json

12 lines
No EOL
444 B
JSON

{
"image": "mcr.microsoft.com/devcontainers/typescript-node:18",
"features": {
"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",
"containerEnv": {
"DB_URL": "postgres://postgres:p0stgr3s@localhost:5432/logto",
"TRUST_PROXY_HEADER": "1",
"ADMIN_ENDPOINT": "http://localhost:3002"
}
}