You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will start a container running the minimum Convertigo server. Convertigo uses images' **/workspace** directory to store configuration file and deployed projects as an Docker volume.
25
25
26
-
You can access the Server admin console on http://[dockerhost]:28080/convertigo and login using the default credentials: admin / admin
26
+
You can access the Server admin console on `http://[dockerhost]:28080/convertigo` and login using the default credentials: `admin / admin`.
27
+
28
+
The Server can also be accessed by HTTPS on `https://[dockerhost]:28443/convertigo` if SSL is configured (see the **HTTPS** section below).
27
29
28
30
## Link Convertigo to a CouchDB database for FullSync (Convertigo EE only)
29
31
30
-
Convertigo FullSync module uses Apache CouchDB 2.3.1 as NoSQL repository. You can use the **[couchdb](https://hub.docker.com/_/couchdb/)** docker image and link to it convertigo this way
32
+
Convertigo FullSync module uses Apache CouchDB 3.2.2 as NoSQL repository. You can use the **[couchdb](https://hub.docker.com/_/couchdb/)** docker image and link to it convertigo this way
31
33
32
34
Launch CouchDB container and name it 'fullsync'
33
35
34
36
```console
35
-
$ docker run -d --name fullsync couchdb:2.3.1
37
+
$ docker run -d --name fullsync couchdb:3.2.2
36
38
```
37
39
38
40
Then launch Convertigo and link it to the running 'fullsync' container. Convertigo Low Code sever will automatically use it as its fullsync repository.
@@ -41,11 +43,21 @@ Then launch Convertigo and link it to the running 'fullsync' container. Converti
## Use embedded PouchDB as FullSync engine (not for production)
47
+
48
+
Convertigo FullSync is designed to use CouchDB server or cluster. Convertigo FullSync is also compatible with PouchDB but only for little projects or tests. Internet access is required to enable this feature.
## Link Convertigo Low Code Server to a Billing & Analytics database
45
57
46
58
### MySQL
47
59
48
-
MySQL is the recommended database for holding Convertigo MBaaS server analytics. You can use this command to run convertigo and link it to a running MySQL container. Change `[mysql-container]` to the container name, and `[username for the c8oAnalytics db]`, `[password for specified db user]` with the values for your MySQL configuration.
60
+
MySQL is the recommended database for holding Convertigo Low Code server analytics. You can use this command to run convertigo and link it to a running MySQL container. Change `[mysql-container]` to the container name, and `[username for the c8oAnalytics db]`, `[password for specified db user]` with the values for your MySQL configuration.
In many cases, the Convertigo instance is behind a reverse proxy that handles HTTPS / SSL configuration. But you can configure the container to manage existing SSL certificates or dynamically generate one.
131
+
132
+
If the SSL configuration is correct, the Convertigo Server will listen **HTTP** on port `28080` and **HTTPS** on port `28443`.
133
+
134
+
### Provide existing certificate using the /ssl mount point
135
+
136
+
If you have an existing certificate and a private key, you can put them in **PEM** format in a folder (or in a Kubernetes secret):
137
+
138
+
-`key.pem` : the private key in PEM format (no password)
139
+
-`cert.pem` : the server certificate in PEM format, can also contain the full chain of certificates
140
+
-`chain.pem` : the optional chain of certificates not included in `cert.pem` using the PEM format
### Provide existing certificate using environment variables
153
+
154
+
If you cannot mount a volume, you can probably add environment variables of previously described files. Content cannot be set directly in a variable but their base64 version can. Here are the variables to configure:
155
+
156
+
-`SSL_KEY_B64` : the private key in base64 PEM format (no password)
157
+
-`SSL_CERT_B64` : the server certificate in base64 PEM format, can also contain the full chain of certificates
158
+
-`SSL_CHAIN_B64` : the optional chain of certificates not included in `cert.pem` using the base64 PEM format
If you don't have certificate file, you can dynamically generate one for the first start. This will be an untrusted certificate for Browsers and HTTPS clients. This shouldn't be used for production environment.
170
+
171
+
Use the `SSL_SELFSIGNED` environment variable to indicate for what domain you want generate certificate.
Convertigo generates a `JSESSIONID` to maintain the user session and stores in a *cookie*. The *cookie* is set for the server path `/` by default. In case of a front server with multiple services for different paths, you can set a path restriction for the *cookie* with the `JSESSIONID`. Just define the `COOKIE_PATH` environment variable with a compatible path.
207
+
Convertigo generates a `JSESSIONID` to maintain the user session and stores in a **cookie**. The **cookie** is set for the server path `/` by default. In case of a front server with multiple services for different paths, you can set a path restriction for the **cookie** with the `JSESSIONID`. Just define the `COOKIE_PATH` environment variable with a compatible path.
141
208
142
209
The default `COOKIE_PATH` value is `/` and can be defined :
Convertigo use a *cookie* to maintain sessions. Requests on port `28080` are *HTTP* but we advice to use an *HTTPS* front for production (nginx, kubenetes ingress, ...). In this case, you can secure yours cookies to be used only with secured connections by adding the `Secure` flag.
217
+
Convertigo uses a **cookie** to maintain sessions. Requests on port `28080` are **HTTP** but we advise to use an **HTTPS** front for production (nginx, kubernetes ingress, ...). In this case, you can secure your cookies to be used only with secured connections by adding the `Secure` flag.
151
218
152
-
The Secure flag can be enabled by setting the `COOKIE_SECURE` environment variable to `true`. Once enabled, cookies and sessions aren't working through an *HTTP* connection.
219
+
The Secure flag can be enabled by setting the `COOKIE_SECURE` environment variable to `true`. Once enabled, cookies and sessions aren't working through an **HTTP** connection.
153
220
154
221
The default `COOKIE_SECURE` value is `false` and can be defined :
Allow to configure the default Tomcat *session-timeout* in minutes. This value is used for non-project calls (Administration console, Fullsync...). This value is overridden by each projects' calls (Sequence, Transaction ...).
241
+
Allow to configure the default Tomcat **session-timeout** in minutes. This value is used for non-project calls (Administration console, Fullsync...). This value is overridden by each projects' calls (Sequence, Transaction ...).
173
242
174
-
The default `SESSION_TIMEOUT` value is *30* and can be defined this way:
243
+
The default `SESSION_TIMEOUT` value is **30** and can be defined this way:
The image include *sudo* command line, configured to allow the *convertigo* user to use it without password and to perform some *root* action inside the container. This variable allow to disable this permission.
251
+
The image include **sudo** command line, configured to allow the **convertigo** user to use it without password and to perform some **root** action inside the container. This variable allows to disable this permission.
183
252
184
-
The default `DISABLE_SUDO` value is *empty* and can be defined this way:
253
+
The default `DISABLE_SUDO` value is **empty** and can be defined this way:
0 commit comments