Odoo One Click App (#212)

* Odoo One Click App

* Odoo resolve conversation
This commit is contained in:
Antoine Jacques 2020-07-07 02:07:28 +02:00 committed by GitHub
parent 12fe80b6ab
commit aab7c1a4c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 76 additions and 0 deletions

76
public/v2/apps/odoo.json Normal file
View File

@ -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^\\/])+$/"
}
]
}

BIN
public/v2/logos/odoo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB