-
Notifications
You must be signed in to change notification settings - Fork 13
/
odoo.yaml
142 lines (139 loc) · 4.41 KB
/
odoo.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
apiVersion: v1
kind: ReplicationController
metadata:
name: $APP_NAME|default:odoo| Enter your application name$
kuberdock:
packageID: 0
preDescription: |
You are installing the application [b]Odoo[/b].
Odoo (formerly known as OpenERP) is a suite of open-source business apps.
All the components needed for this application correct work will also be installed: [b]PostgreSQL[/b] server.
Choose the amount of resources or use recommended parameters set by default.
First choose package.
When you click "Order now", you will get to order processing page.
postDescription: |
You have installed [b]Odoo![/b]
Please find more information about Odoo software on the official website [url]https://www.odoo.com/[/url]
To access [b]Odoo[/b] use this link: [url]http://%PUBLIC_ADDRESS%:$ODOO_XMLRPC_HOST_PORT$[/url]
[b]Odoo XML-RPC/HTTP port:[/b] $ODOO_XMLRPC_HOST_PORT$
[b]Odoo XML-RPC/HTTP secure port:[/b] $ODOO_XMLRPCS_HOST_PORT$
You can access [b]PostgreSQL[/b] using credentials:
[b]User:[/b] odoo
[b]Password:[/b] $POSTGRES_USER_PASSWORD$
We recommend you to save the credentials.
# required for cPanel to do proxy to user`s domain
# proxy:
# root:
# container: odoo
# domain: $APP_DOMAIN|default:user_domain_list|Select application domain$
appPackages:
- name: S
goodFor: beginner
publicIP: true
pods:
-
name: $APP_NAME$
kubeType: 0
containers:
- name: postgres
kubes: 3
- name: odoo
kubes: 3
persistentDisks:
- name: postgres-persistent-storage
pdSize: 1
- name: odoo-persistent-storage
pdSize: 1
- name: M
recommended: yes
goodFor: regular use
publicIP: true
pods:
-
name: $APP_NAME$
kubeType: 1
containers:
- name: postgres
kubes: 2
- name: odoo
kubes: 2
persistentDisks:
- name: postgres-persistent-storage
pdSize: 1
- name: odoo-persistent-storage
pdSize: 1
- name: L
goodFor: business
publicIP: true
pods:
-
name: $APP_NAME$
kubeType: 2
containers:
- name: postgres
kubes: 2
- name: odoo
kubes: 2
persistentDisks:
- name: postgres-persistent-storage
pdSize: 2
- name: odoo-persistent-storage
pdSize: 2
spec:
template:
metadata:
labels:
name: $APP_NAME$
spec:
volumes:
- name: postgres-persistent-storage
persistentDisk:
pdName: odoo_postgres_$PD_RAND|default:autogen|PD rand$
- name: odoo-persistent-storage
persistentDisk:
pdName: odoo_var_$PD_RAND$
restartPolicy: "Always"
containers:
-
name: postgres
image: postgres:9.4
env:
- name: POSTGRES_USER
value: odoo
- name: POSTGRES_PASSWORD
value: $POSTGRES_USER_PASSWORD|default:autogen|postgres user password$
ports:
- containerPort: 5432
volumeMounts:
- mountPath: /var/lib/postgresql/data
name: postgres-persistent-storage
-
name: odoo
image: kuberdock/odoo:9-1
env:
- name: DB_PORT_5432_TCP_ADDR
value: 127.0.0.1
- name: DB_ENV_POSTGRES_USER
value: odoo
- name: DB_ENV_POSTGRES_PASSWORD
value: $POSTGRES_USER_PASSWORD$
- name: OPENERP_SERVER
value: /var/lib/odoo/openerp-server.conf
ports:
- containerPort: 8069
podPort: $ODOO_XMLRPC_HOST_PORT|default:80|Enter Odoo XML-RPC/HTTP host port$
isPublic: True
- containerPort: 8071
podPort: $ODOO_XMLRPCS_HOST_PORT|default:8071|Enter Odoo XML-RPC/HTTP secure host port$
isPublic: True
readinessProbe:
httpGet:
path: /
scheme: HTTP
port: 8069
timeoutSeconds: 30
initialDelaySeconds: 5
volumeMounts:
- mountPath: /var/lib/odoo
kdCopyFromImage: true
name: odoo-persistent-storage