diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index ad65693..422953e 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -4,5 +4,11 @@ "context": ".." }, "runArgs": ["--init"], - "mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ] + "mounts": [ + "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind", + "source=${localWorkspaceFolder}/tmp/data/,target=/var/lib/dokku/services/postgres/,type=bind" + ], + "containerEnv": { + "POSTGRES_HOST_ROOT": "${localWorkspaceFolder}/tmp/data" + } }