-
Notifications
You must be signed in to change notification settings - Fork 13
/
sugarcrm.yaml
156 lines (153 loc) · 5.21 KB
/
sugarcrm.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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
apiVersion: v1
kind: ReplicationController
metadata:
name: $APP_NAME|default:sugarcrm| Enter your application name$
kuberdock:
packageID: 0
preDescription: sugarcrm
postDescription: We just want to inform you that your SugarCRM is now deploying and will be started in a few minutes. The application will be available via %PUBLIC_ADDRESS%. You need to wait until application will obtain status running, that will mean that you application is ready to use. Your database credentials Database sugar, Login sugar, Password $MYSQL_USER_PASSWORD$, Host 127.0.0.1, Port 3306. You can find more information about how to use KuberDock in our documentation.
preDescription: |
You are installing the application [b]SugarCRM[/b].
Sugar is a complete CRM solution that automates your core sales, customer service and marketing processes, with a focus on the individual.
All the components needed for this application correct work will also be installed: [b]MySQL[/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]SugarCRM![/b]
Please find more information about SugarCRM software on the official website [url]https://www.sugarcrm.com/[/url]
To access [b]SugarCRM[/b] use this link: [url]http://%PUBLIC_ADDRESS%[/url]
You can access [b]MySQL[/b] using credentials:
[b]Host:[/b] 127.0.0.1
[b]Database:[/b] sugarcrm
[b]Login:[/b] admin
[b]Password:[/b] $MYSQL_USER_PASSWORD$
We recommend you to save the credentials.
# required for cPanel to do proxy to user`s domain
# proxy:
# root:
# container: sugarcrm
# 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: mysql
kubes: 6
- name: sugarcrm
kubes: 4
persistentDisks:
- name: mysql-persistent-storage
pdSize: 1
- name: sugarcrm-persistent-storage
pdSize: 1
- name: M
recommended: yes
goodFor: regular use
publicIP: true
pods:
-
name: $APP_NAME$
kubeType: 1
containers:
- name: mysql
kubes: 6
- name: sugarcrm
kubes: 4
persistentDisks:
- name: mysql-persistent-storage
pdSize: 1
- name: sugarcrm-persistent-storage
pdSize: 1
- name: L
goodFor: business
publicIP: true
pods:
-
name: $APP_NAME$
kubeType: 2
containers:
- name: mysql
kubes: 6
- name: sugarcrm
kubes: 4
persistentDisks:
- name: mysql-persistent-storage
pdSize: 2
- name: sugarcrm-persistent-storage
pdSize: 2
spec:
template:
metadata:
labels:
name: $APP_NAME$
spec:
volumes:
- name: mysql-persistent-storage
persistentDisk:
pdName: sugar_mysql_$PD_RAND|default:autogen|PD rand$
- name: sugarcrm-persistent-storage
persistentDisk:
pdName: sugarcrm_www_$PD_RAND$
restartPolicy: "Always"
containers:
-
name: mysql
image: kuberdock/mysql:5.7
env:
- name: MYSQL_DATABASE
value: sugarcrm
- name: MYSQL_USER
value: admin
- name: MYSQL_PASSWORD
value: $MYSQL_USER_PASSWORD|default:autogen|mysql password$
- name: MYSQL_ROOT_PASSWORD
value: $MYSQL_ROOT_PASSWORD|default:autogen|mysql password$
- name: MYSQL_AUTO_MEMORY_ALLOCATE
value: $MYSQL_AUTO_MEMORY_ALLOCATE|default:innodb|Please choose default MySQL engine "innodb" or "myisam"$
ports:
- containerPort: 3306
readinessProbe:
tcpSocket:
port: 3306
initialDelaySeconds: 5
volumeMounts:
- mountPath: /var/lib/mysql
name: mysql-persistent-storage
-
name: sugarcrm
image: kuberdock/sugarcrm:6.5
env:
- name: DATABASE_NAME
value: sugarcrm
- name: DB_USER_NAME
value: admin
- name: DB_PASSWORD
value: $MYSQL_USER_PASSWORD$
- name: DB_HOST_NAME
value: 127.0.0.1
- name: DB_TYPE
value: mysql
- name: DB_TCP_PORT
value: "3306"
- name: DB_MANAGER
value: MysqlManager
ports:
- containerPort: 80
isPublic: True
readinessProbe:
httpGet:
path: /
scheme: HTTP
port: 80
timeoutSeconds: 30
initialDelaySeconds: 5
volumeMounts:
- mountPath: /var/www/html
name: sugarcrm-persistent-storage
kdCopyFromImage: true