diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 3ae1e87..0b018a9 100755 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -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, diff --git a/backend-dart/.env b/backend-dart/.env index 2d08b29..889b884 100755 --- a/backend-dart/.env +++ b/backend-dart/.env @@ -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" \ No newline at end of file +DATABASE_URL="postgresql://user:secret@host.docker.internal:5432/time_tracking_db?schema=public" \ No newline at end of file