mirror of
https://github.com/Wolvan/poll.horse.git
synced 2024-11-22 04:58:00 +01:00
d34c50c8f1
Now poll.horse is available as a docker image! To persist data, mount `/data` to a host directory. A config file can be specified via binding `/usr/src/app/config.json` to a config file on the host.
39 lines
No EOL
638 B
JSON
39 lines
No EOL
638 B
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"type": "docker-build",
|
|
"label": "docker-build",
|
|
"platform": "node",
|
|
"dockerBuild": {
|
|
"dockerfile": "${workspaceFolder}/Dockerfile",
|
|
"context": "${workspaceFolder}",
|
|
"pull": true
|
|
}
|
|
},
|
|
{
|
|
"type": "docker-run",
|
|
"label": "docker-run: release",
|
|
"dependsOn": [
|
|
"docker-build"
|
|
],
|
|
"platform": "node"
|
|
},
|
|
{
|
|
"type": "docker-run",
|
|
"label": "docker-run: debug",
|
|
"dependsOn": [
|
|
"docker-build"
|
|
],
|
|
"dockerRun": {
|
|
"env": {
|
|
"DEBUG": "*",
|
|
"NODE_ENV": "development"
|
|
}
|
|
},
|
|
"node": {
|
|
"enableDebugging": true
|
|
}
|
|
}
|
|
]
|
|
} |