forked from AOT-Technologies/forms-flow-ai-doc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker_full_deployment.html
102 lines (86 loc) · 4.92 KB
/
docker_full_deployment.html
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
<article class="docs-article" id="section-1">
<section class="docs-section" id="docker_full_deployment">
<h1>Docker Full Deployment</h1><br>
<hr>
<h3>Installation Steps</h3><br>
<p>Following steps are required to complete the installation and setup of formsflow.ai solution
</p>
<ul>
<li>Keycloak setup</li>
<li>forms-flow-analytics setup</li>
<li>forms-flow-forms ,forms-flow-web, forms-flow-bpm, forms-flow-api setup</li>
</ul>
<br>
<div class="callout-block callout-block-info">
<div class="content">
<span class="callout-icon-holder me-1"></span>
<i class="fa fa-bullhorn"></i>
<em> Make sure you have a Docker machine up and running.</em>
</div>
</div><br>
<ol>
<h4>
<li>Keycloak Setup</li>
</h4>
<p>Keycloak is an open source software product to allow single sign-on with Identity and Access Management
aimed at modern applications and services.</p>
<p>To install keycloak follow the instructions given <a href="local_keycloaksetup.html" target="_blank">here</a></p>
<h4>
<li>forms-flow-analytics Setup</li>
</h4>
<p>Redash is used to build analytics dashboards. The analytics server can be started by following the
instructions given <a href="formsflow_analytics.html" target="_blank">here</a>
</p>
<br>
<h4>
<li>forms-flow-forms, forms-flow-web, forms-flow-bpm & forms-flow-api Setup</li>
</h4>
<p>To setup forms-flow-forms, forms-flow-web, forms-flow-bpm & forms-flow-api follow the below instructions .</p>
<ul>
<li>Make sure your current working directory is "/forms-flow-ai/deployment/docker".</li>
<li>Modify the environment variables inside .env file if needed. Environment variables
are given below.</li>
<br>
<code>NOTE :{your-ip-address} given inside the .env file should be changed to your host system IP address.
Please take special care to identify the correct IP address if your system has multiple network cards.</code>
<br><br><br>
<img src="./assets/images/clientsecret.png" height="250" width="600"></img><br><br>
<p>KEYCLOAK_BPM_CLIENT_SECRET provided in the <strong> sample.env</strong> is the default one.To generate new secret click <a href="formsflow_bpm.html#bpmclientsecret">HERE</a> </p>
<br>
<img src="./assets/images/deployment_docker1.png" height="400" width="600"></img>
<img src="./assets/images/deployment_docker2.png" height="200" width="600"></img>
<img src="./assets/images/deployment_docker3.png" height="500" width="600"></img>
<img src="./assets/images/deployment_docker4.png" height="500" width="600"></img>
<img src="./assets/images/deployment_docker5.png" height="500" width="600"></img>
</ul>
</ol><br>
<h4>Running the application</h4>
<ul>
<li>Run <code>docker-compose up -d</code> to start.</li>
</ul>
<img src="./assets/images/Screenshot 2022-08-16 160934.png" height="350" width="800"></img><br><br>
<h5>To stop the application</h5>
<ul>
<li>Run <code>docker-compose stop</code> to stop.</li>
</ul>
<h4 id="healthcheck">Health Check</h4>
<ul>
<li>Analytics should be up and available for use at port defaulted to 7000 i.e. <a
href="http://localhost:7000/">http://localhost:7000/</a></li>
<li>Business Process Engine should be up and available for use at port defaulted to 8000
i.e.<a href="http://localhost:8000/camunda/"> http://localhost:8000/camunda/</a></li>
<li>FormIO should be up and available for use at port defaulted to 3001 i.e. <a
href="http://localhost:3001/">http://localhost:3001/</a></li>
<li>formsflow.ai Rest API should be up and available for use at port defaulted to 5000 i.e.
<a href="http://localhost:5000/checkpoint">http://localhost:5000/checkpoint</a>
</li>
<li>formsflow.ai web application should be up and available for use at port defaulted to
3000 i.e. <a href="http://localhost:3000/">http://localhost:3000/</a></li>
<li>
<p>Default user credentials are provided <a href="default user credential.html" target="_blank">here</a>
</p>
</li>
</ul>
<p>Installation is successfully completed now.</p>
</section>
</article>