Files
dokku-postgres/.devcontainer/devcontainer.json

15 lines
374 B
JSON

{
"build": {
"dockerfile": "Dockerfile",
"context": ".."
},
"runArgs": ["--init"],
"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"
}
}