summaryrefslogtreecommitdiffhomepage
path: root/public/v4/apps/couchdb.yml
diff options
context:
space:
mode:
authorKasra Bigdeli <[email protected]>2020-08-16 20:02:16 -0400
committerKasra Bigdeli <[email protected]>2020-08-16 20:03:15 -0400
commit0e70ec541e7441b71460db230975d4614473ed6d (patch)
tree6e8bafcd18f41d09bc893dc75f36398a0c1f7dde /public/v4/apps/couchdb.yml
parent83103a180914dff274188594132c1395f12a1645 (diff)
downloadcaprover-one-click-apps-0e70ec541e7441b71460db230975d4614473ed6d.tar.gz
caprover-one-click-apps-0e70ec541e7441b71460db230975d4614473ed6d.zip
migrate to v4
Diffstat (limited to 'public/v4/apps/couchdb.yml')
-rw-r--r--public/v4/apps/couchdb.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/public/v4/apps/couchdb.yml b/public/v4/apps/couchdb.yml
new file mode 100644
index 0000000..0bcf021
--- /dev/null
+++ b/public/v4/apps/couchdb.yml
@@ -0,0 +1,40 @@
+captainVersion: 4
+services:
+ $$cap_appname:
+ image: couchdb:$$cap_couchdb_version
+ volumes:
+ - $$cap_appname-db-data:/opt/couchdb/data
+ - $$cap_appname-db-etc:/opt/couchdb/etc
+ restart: always
+ environment:
+ COUCHDB_USER: $$cap_couchdb_user
+ COUCHDB_PASSWORD: $$cap_couchdb_password
+ caproverExtra:
+ containerHttpPort: "5984"
+caproverOneClickApp:
+ variables:
+ - id: $$cap_couchdb_version
+ label: CouchDB Version Tag
+ description: Check out their Docker page for the valid tags https://hub.docker.com/r/library/couchdb/tags/
+ defaultValue: "2"
+ validRegex: /^([^\s^\/])+$/
+ - id: $$cap_couchdb_user
+ label: CouchDB Username
+ defaultValue: mainuser
+ validRegex: /^([a-zA-Z0-9_])+$/
+ - id: $$cap_couchdb_password
+ label: CouchDB Password
+ defaultValue: ""
+ validRegex: /.{1,}/
+ instructions:
+ start: >-
+ CouchDB is a database that uses JSON for documents, an HTTP API, & JavaScript/declarative indexing.
+
+ After installation on CapRover, it will be available as srv-captain--YOUR_CONTAINER_NAME at port 5984 to other CapRover apps.
+
+ Enter your CouchDB Configuration parameters and click on next. It will take about a minute for the process to finish.
+ end: CouchDB is deployed and available as $$cap_appname at port 5984 to other apps
+ displayName: CouchDB
+ isOfficial: true
+ description: Apache CouchDB is an open-source document-oriented NoSQL database, implemented in Erlang
+ documentation: Taken from https://hub.docker.com/_/couchdb/