summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAntoine Jacques <[email protected]>2020-07-07 02:07:28 +0200
committerGitHub <[email protected]>2020-07-06 20:07:28 -0400
commitaab7c1a4c76fae9c9ee6c1cfb842512941cf4289 (patch)
tree9c8fd0146ae29b66c4780ce2bab76826ebb24c5b
parent12fe80b6ab0bb1afe0e1732ea2f121944dd9a1ab (diff)
downloadcaprover-one-click-apps-aab7c1a4c76fae9c9ee6c1cfb842512941cf4289.tar.gz
caprover-one-click-apps-aab7c1a4c76fae9c9ee6c1cfb842512941cf4289.zip
Odoo One Click App (#212)
* Odoo One Click App * Odoo resolve conversation
-rw-r--r--public/v2/apps/odoo.json76
-rw-r--r--public/v2/logos/odoo.pngbin0 -> 20123 bytes
2 files changed, 76 insertions, 0 deletions
diff --git a/public/v2/apps/odoo.json b/public/v2/apps/odoo.json
new file mode 100644
index 0000000..21c772c
--- /dev/null
+++ b/public/v2/apps/odoo.json
@@ -0,0 +1,76 @@
+{
+ "captainVersion": "2",
+ "documentation": "https://hub.docker.com/_/odoo?tab=description",
+ "description": "Odoo, formerly known as OpenERP, is a suite of open-source business apps written in Python and released under the AGPL license.",
+ "dockerCompose": {
+ "version": "3.8",
+ "services": {
+ "$$cap_appname-db": {
+ "image": "postgres:$$cap_postgres_version",
+ "notExposeAsWebApp": "true",
+ "volumes": ["$$cap_appname-db-data:/var/lib/postgresql/data"],
+ "restart": "always",
+ "environment": {
+ "POSTGRES_USER": "odoo",
+ "POSTGRES_PASSWORD": "$$cap_postgres_password",
+ "POSTGRES_DB": "postgres"
+ }
+ },
+ "$$cap_appname": {
+ "image": "odoo:$$cap_odoo_version",
+ "containerHttpPort": "8069",
+ "depends_on": ["$$cap_appname-db"],
+ "volumes": [
+ "$$cap_appname-odoo-web-data:/var/lib/odoo",
+ "$$cap_appname-config:/etc/odoo",
+ "$$cap_appname-addons:/mnt/extra-addons"
+ ],
+ "restart": "always",
+ "environment": {
+ "POSTGRES_PASSWORD": "$$cap_postgres_password",
+ "HOST": "srv-captain--$$cap_appname-db"
+ }
+ }
+ },
+ "volumes": {
+ "$$cap_appname-odoo-web-data": {},
+ "$$cap_appname-config": {},
+ "$$cap_appname-addons": {},
+ "$$cap_appname-db-data": {}
+ }
+ },
+ "networks": {
+ "db": {
+ "driver": "bridge"
+ },
+ "search": {
+ "driver": "bridge"
+ }
+ },
+ "instructions": {
+ "start": "Odoo is an open source product CRM",
+ "end": "Odoo is deployed and the dashboard is available from http://$$cap_appname.$$cap_root_domain."
+ },
+ "variables": [
+ {
+ "id": "$$cap_postgres_version",
+ "label": "Postgres Version",
+ "defaultValue": "9.6.18-alpine",
+ "description": "Checkout their docker page for the valid tags https://hub.docker.com/r/library/postgres/tags/",
+ "validRegex": "/^([^\\s^\\/])+$/"
+ },
+ {
+ "id": "$$cap_postgres_password",
+ "label": "Postgres Password",
+ "description": "",
+ "validRegex": "/.{1,}/"
+ },
+ {
+ "id": "$$cap_odoo_version",
+ "label": "Odoo Version",
+ "defaultValue": "13.0",
+ "description": "Checkout their docker page for the valid tags https://hub.docker.com/_/odoo?tab=tags",
+ "validRegex": "/^([^\\s^\\/])+$/"
+ }
+ ]
+}
diff --git a/public/v2/logos/odoo.png b/public/v2/logos/odoo.png
new file mode 100644
index 0000000..66267f6
--- /dev/null
+++ b/public/v2/logos/odoo.png
Binary files differ