devcontainer.json 930 B

12345678910111213141516171819
  1. // For format details, see https://aka.ms/devcontainer.json. For config options, see the
  2. // README at: https://github.com/devcontainers/templates/tree/main/src/java-postgres
  3. {
  4. "name": "Java & PostgreSQL",
  5. "dockerComposeFile": "docker-compose.yml",
  6. "service": "app",
  7. "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}"
  8. // Features to add to the dev container. More info: https://containers.dev/features.
  9. // "features": {}
  10. // Use 'forwardPorts' to make a list of ports inside the container available locally.
  11. // This can be used to network with other containers or with the host.
  12. // "forwardPorts": [5432],
  13. // Use 'postCreateCommand' to run commands after the container is created.
  14. // "postCreateCommand": "java -version",
  15. // Configure tool-specific properties.
  16. // "customizations": {},
  17. // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
  18. // "remoteUser": "root"
  19. }