reduced dev container overhead by accessing the db via dod instead of did
This commit is contained in:
parent
ceab3db8b4
commit
97fe0e69d0
@ -22,10 +22,10 @@
|
||||
],
|
||||
"features": {
|
||||
//"docker-in-docker": "latest",
|
||||
//"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
|
||||
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
|
||||
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
|
||||
//"ghcr.io/devcontainers/features/docker-in-docker:2": {}
|
||||
},
|
||||
//"runArgs": ["--add-host=host.docker.internal:host-gateway"],
|
||||
"runArgs": ["--add-host=host.docker.internal:host-gateway"],
|
||||
"postCreateCommand": "./.devcontainer/setup.sh",
|
||||
"remoteUser": "vscode",
|
||||
"updateRemoteUserUID": true,
|
||||
|
@ -4,4 +4,4 @@
|
||||
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
|
||||
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
|
||||
|
||||
DATABASE_URL="postgresql://user:secret@localhost:5432/time_tracking_db?schema=public"
|
||||
DATABASE_URL="postgresql://user:secret@host.docker.internal:5432/time_tracking_db?schema=public"
|
Loading…
x
Reference in New Issue
Block a user