2022-11-02 21:34:12 -05:00
|
|
|
{
|
2023-09-11 21:35:57 -05:00
|
|
|
"image": "mcr.microsoft.com/devcontainers/typescript-node:18",
|
2022-11-02 21:34:12 -05:00
|
|
|
"features": {
|
2023-09-11 21:35:57 -05:00
|
|
|
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
|
2022-11-02 21:34:12 -05:00
|
|
|
},
|
|
|
|
"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",
|
2023-09-13 02:10:07 -05:00
|
|
|
"TRUST_PROXY_HEADER": "1",
|
|
|
|
"ADMIN_ENDPOINT": "http://localhost:3002"
|
2022-11-02 21:34:12 -05:00
|
|
|
}
|
2023-09-13 02:10:07 -05:00
|
|
|
}
|