feat(*): add template for verdaccio (#46)

This commit is contained in:
Aldair Cruz 2019-04-07 01:19:45 +01:00 committed by Kasra Bigdeli
parent 4f1a491fbf
commit 9bec5c0053
1 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{
"captainVersion": "1",
"documentation": "Taken from https://hub.docker.com/r/verdaccio/verdaccio/",
"dockerCompose": {
"version": "3.3",
"services": {
"$$cap_appname": {
"image": "verdaccio/verdaccio:$$cap__verdaccio_version",
"containerHttpPort": "4873",
"volumes": [
"$$cap_appname-storage:/verdaccio/storage",
"$$cap_appname-conf:/verdaccio/conf",
"$$cap_appname-plugins:/verdaccio/plugins"
],
"restart": "always",
"environment": {}
}
}
},
"instructions": {
"start": "Verdaccio is a simple, zero-config-required local private npm registry. \n\n No need for an entire database just to get started! Verdaccio comes out of the box with its own tiny database, and the ability to proxy other registries (eg. npmjs.org), caching the downloaded modules along the way. For those looking to extend their storage capabilities, Verdaccio supports various community-made plugins to hook into services such as Amazon's s3, Google Cloud Storage or create your own plugin. \n\n For more details, see: https://hub.docker.com/r/verdaccio/verdaccio\n\n Enter your verdaccio Configuration parameters and click on next. It will take about a minute for the process to finish.",
"end": "'Verdaccio is deployed and available as srv-captain--$$cap_appname:4873 to other apps.."
},
"variables": [
{
"id": "$$cap__verdaccio_version",
"label": "Verdaccio Version",
"defaultValue": "3.11.6",
"description": "Additional tags can be found here: https://hub.docker.com/r/verdaccio/verdaccio/tags"
}
]
}