diff options
| author | Antoine Jacques <[email protected]> | 2020-07-03 13:34:21 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-07-03 07:34:21 -0400 |
| commit | 728f49b978e2607ee9c6490f2a28bc45dc4a4aff (patch) | |
| tree | 7c5750119ec094bce2e581c34fa1f870ea0afe4c | |
| parent | 88626f2ddd1ca49f39e675fa2b7eaf8e8649c56b (diff) | |
| download | caprover-one-click-apps-728f49b978e2607ee9c6490f2a28bc45dc4a4aff.tar.gz caprover-one-click-apps-728f49b978e2607ee9c6490f2a28bc45dc4a4aff.zip | |
Dolibarr One-Click-Apps (#208)
* Dolibarr One-Click-Apps
* Update json Dolibarr
* Update dolibarr.json documentation
| -rw-r--r-- | public/v2/apps/dolibarr.json | 89 | ||||
| -rw-r--r-- | public/v2/logos/dolibarr.png | bin | 0 -> 29999 bytes |
2 files changed, 89 insertions, 0 deletions
diff --git a/public/v2/apps/dolibarr.json b/public/v2/apps/dolibarr.json new file mode 100644 index 0000000..2316ea3 --- /dev/null +++ b/public/v2/apps/dolibarr.json @@ -0,0 +1,89 @@ +{ + "captainVersion": "2", + "documentation": "https://hub.docker.com/r/upshift/dolibarr", + "description": "Open Source ERP & CRM for Business (sme or large companies, freelancers, foundations)", + "displayName": "Dolibarr", + "dockerCompose": { + "version": "3.8", + "services": { + "$$cap_appname-db": { + "image": "postgres:$$cap_postgres-version", + "notExposeAsWebApp": "true", + "volumes": ["$$cap_appname-db:/var/lib/postgresql/data"], + "restart": "always", + "environment": { + "POSTGRES_USER": "dolibarr", + "POSTGRES_PASSWORD": "$$cap_pg-pass", + "POSTGRES_DB": "dolibarr" + } + }, + "$$cap_appname": { + "image": "upshift/dolibarr:$$cap_dolibarr-version", + "containerHttpPort": "80", + "depends_on": ["$$cap_appname-db"], + "volumes": [ + "$$cap_appname-html:/var/www/html", + "$$cap_appname-docs:/var/www/documents" + ], + "restart": "always", + "environment": { + "DOLI_DB_HOST": "srv-captain--$$cap_appname-db", + "DOLI_DB_NAME": "dolibarr", + "DOLI_DB_ROOT_LOGIN": "dolibarr", + "DOLI_DB_ROOT_PASSWOORD": "$$cap_pg-pass", + "DOLI_DB_USER": "dolibarr", + "DOLI_DB_PORT": 5432, + "DOLI_DB_TYPE": "pgsql", + "DOLI_DB_PASSWORD": "$$cap_pg-pass", + "DOLI_ADMIN_LOGIN": "$$cap_admin-login", + "DOLI_ADMIN_PASSWORD": "$$cap_admin-pass", + "DOLI_URL_ROOT": "http://$$cap_appname.$$cap_root_domain" + } + } + }, + "volumes": { + "$$cap_appname-html": {}, + "$$cap_appname-docs": {}, + "$$cap_appname-db": {} + } + }, + "instructions": { + "start": "Dolibarr is an Open Source ERP & CRM for Business", + "end": "Dolibarr is deployed and available as srv-captain--$$cap_appname:8080 to other apps." + }, + "variables": [ + { + "id": "$$cap_postgres-version", + "label": "Postgres Version", + "defaultValue": "9.6-alpine", + "description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/postgres/tags/", + "validRegex": "/^([^\\s^\\/])+$/" + }, + { + "id": "$$cap_dolibarr-version", + "label": "Dolibarr Version", + "defaultValue": "11.0", + "description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/postgres/tags/", + "validRegex": "/^([^\\s^\\/])+$/" + }, + { + "id": "$$cap_pg-pass", + "label": "Postgres Password", + "description": "The password of the PostgreSQL Database", + "validRegex": "/.{1,}/" + }, + { + "id": "$$cap_admin-login", + "label": "Dolibarr Admin Login", + "defaultValue": "admin", + "description": "The login of the fisrt admin user of Dolibarr", + "validRegex": "/.{1,}/" + }, + { + "id": "$$cap_admin-pass", + "label": "Dolibarr Admin Password", + "description": "The password of the first admin user of Dolibarr", + "validRegex": "/.{1,}/" + } + ] +} diff --git a/public/v2/logos/dolibarr.png b/public/v2/logos/dolibarr.png Binary files differnew file mode 100644 index 0000000..8edd066 --- /dev/null +++ b/public/v2/logos/dolibarr.png |
