spiff-arena/.devcontainer/devcontainer.forlater.json
Kevin Burnett 2e9047248c
Codespaces (#2112)
* grab files from sartography/spiff-codespaces

* build images for codespaces w/ burnettk

* use codespaces image w/ burnettk

* use correct image for frontend w/ burnettk

* use alternate proxy_set_header approach

* new image

* fix image

* revert a couple files back to main version

---------

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-10-14 07:02:07 -07:00

72 lines
2.6 KiB
JSON

// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-docker-compose
{
"name": "container-based BPMN editor",
// Update the 'dockerComposeFile' list if you have more compose files or use different names.
// The .devcontainer/docker-compose.yml file contains any overrides you need/want to make.
"dockerComposeFile": [
"../docker-compose.yml",
"devcontainer-docker-compose.yml" // amendments necessary for the devContainer to work
],
// The 'service' property is the name of the service for the container that VS Code should
// use. Update this value and .devcontainer/docker-compose.yml to the real service name.
"service": "devcontainer",
// The optional 'workspaceFolder' property is the path VS Code should open by default when
// connected. This is typically a file mount in .devcontainer/docker-compose.yml
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
"features": {
// These are commented out because they are incompatible with Zscaler
// We need something like this for the Docker Compose case:
// https://github.com/microsoft/vscode-remote-release/issues/6092#issuecomment-1646739392
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
// "ghcr.io/devcontainers/features/github-cli:1": {},
// "ghcr.io/waqqas/feature/bpmnlint:1": {},
// "ghcr.io/waqqas/feature/dmnlint:1": {}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [8000, 8001, 8003, 8004],
"customizations": {
"codespaces": {
"openFiles": []
}
},
"portsAttributes": {
"8000": {
"label": "SpiffWorkflow Backend",
"onAutoForward": "silent"
},
"8001": {
"label": "SpiffWorkflow Editor",
"onAutoForward": "openBrowser"
},
"8003": {
"label": "Nginx Proxy",
"onAutoForward": "openBrowser"
},
"8004": {
"label": "SpiffWorkflow Connector",
"onAutoForward": "silent"
}
}
// Uncomment the next line if you want start specific services in your Docker Compose config.
// "runServices": [],
// Uncomment the next line if you want to keep your containers running after VS Code shuts down.
// "shutdownAction": "none",
// Configure tool-specific properties.
// "customizations": {},
// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "devcontainer"
}