mirror of
https://github.com/zammad/zammad
synced 2026-05-24 09:48:36 +00:00
36 lines
1.2 KiB
JSON
36 lines
1.2 KiB
JSON
// For format details, see https://containers.dev/implementors/json_reference/.
|
|
// For config options, see the README at: https://github.com/devcontainers/templates/tree/main/src/ruby
|
|
{
|
|
"name": "Zammad (default)",
|
|
"dockerComposeFile": "compose.yaml",
|
|
"service": "devcontainer",
|
|
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
|
|
"features": {
|
|
"../features/zammad-deps": {},
|
|
"../features/add-bin-path": {
|
|
"addBinPath": "/workspaces/${localWorkspaceFolderBasename}/bin"
|
|
}
|
|
},
|
|
"mounts": [
|
|
{
|
|
// Avoid conflicts with host-installed node_modules with a different platform/architecture.
|
|
"source": "node-modules",
|
|
"target": "/workspaces/${localWorkspaceFolderBasename}/node_modules",
|
|
"type": "volume"
|
|
},
|
|
{
|
|
"source": "pnpm-store",
|
|
"target": "/workspaces/${localWorkspaceFolderBasename}/.pnpm-store",
|
|
"type": "volume"
|
|
}
|
|
],
|
|
"containerEnv": {},
|
|
"forwardPorts": [
|
|
3000,
|
|
3001,
|
|
3036,
|
|
6042
|
|
],
|
|
"postCreateCommand": "/workspaces/${localWorkspaceFolderBasename}/.devcontainer/post_create.sh",
|
|
"postStartCommand": "git config --global --add safe.directory /workspaces/${localWorkspaceFolderBasename}"
|
|
}
|