diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml index 396760e4..cb137f5a 100644 --- a/.devcontainer/docker-compose.yml +++ b/.devcontainer/docker-compose.yml @@ -25,6 +25,12 @@ services: # Uncomment the next line to use a non-root user for all processes. # user: vscode + volumes: + # Mounts the project folder to '/workspace'. The target path inside the container + # should match what your application expects. In this case, the compose file is + # in a sub-folder, so you will mount '..'. You would then reference this path as the + # 'workspaceFolder' in '.devcontainer/devcontainer.json' so VS Code starts here. + - ..:/workspace:cached db: image: kartoza/postgis:latest