1{
2	"name": "dokuwiki-devcontainer",
3	"image": "linuxserver/dokuwiki:latest",
4    "overrideCommand": false,	// to use dockefile command
5	"forwardPorts": [80],
6
7	// Copy default configuration file with admin test:test
8	"postCreateCommand": "cp -rf /workspace/button/tests/conf/* /config/dokuwiki/conf && chown -R abc:abc /config/dokuwiki && ln -sf /workspace/button /config/dokuwiki/lib/plugins",
9
10	// Mount workspace
11	"workspaceMount": "source=${localWorkspaceFolder},target=/workspace/button,type=bind",
12	"workspaceFolder": "/workspace/button",
13
14	// Mount data/pages and data/media (other contents will be lost)
15	"mounts": [
16		"source=${localWorkspaceFolder}/tests/data/pages,target=/config/dokuwiki/data/pages,type=bind,consistency=cached",
17		"source=${localWorkspaceFolder}/tests/data/media,target=/config/dokuwiki/data/media,type=bind,consistency=cached",
18	]
19
20}
21