Przeglądaj źródła

Convertigo: add entry for pre-configuring symbols + new compose page link (#2645)

* add entry for pre-configuring symbols + new compose page

* Update convertigo/content.md

Co-authored-by: Tianon Gravi <[email protected]>

* Update convertigo/content.md

Co-authored-by: Tianon Gravi <[email protected]>

---------

Co-authored-by: Tianon Gravi <[email protected]>
Nicolas Albert 1 miesiąc temu
rodzic
commit
a058f7fcfa
1 zmienionych plików z 14 dodań i 5 usunięć
  1. 14 5
      convertigo/content.md

+ 14 - 5
convertigo/content.md

@@ -96,6 +96,15 @@ COPY myProject.car /usr/local/tomcat/webapps/convertigo/WEB-INF/default_user_wor
 COPY myDependency.car /usr/local/tomcat/webapps/convertigo/WEB-INF/default_user_workspace/projects/
 ```
 
+## Make image with pre-deployed configuration
+
+You can add to your image a set of pre-configured symbols by copying the `global_symbols.properties`, you have to have this file next to your `Dockerfile`:
+
+```console
+FROM %%IMAGE%%
+COPY global_symbols.properties /usr/local/tomcat/webapps/convertigo/WEB-INF/default_user_workspace/configuration/global_symbols.properties
+```
+
 ## Migrate from an earlier version of Convertigo Low Code Platform
 
 -	Stop the container to perform a backup. And just back the workspace directory. This will backup all the projects definitions and some project data.
@@ -275,13 +284,13 @@ The default `ENABLE_JDWP_DEBUG` value is **false** and can be defined this way:
 $ docker run -d –name C8O -e ENABLE_JDWP_DEBUG=true -p 28080:28080 %%IMAGE%%
 ```
 
-## Pre-configurated Docker Compose file
+## Pre configurated `docker compose` stack
 
-You can use [this Docker Compose file](https://github.com/convertigo/docker/blob/master/compose/mbaas/docker-compose.yml) to run a complete Convertigo Low Code server with FullSync repository and MySQL analytics in a few command lines.
+You can use this [README](https://github.com/convertigo/docker/tree/compose) to run a complete Convertigo Low Code server.
 
 ```console
-$ mkdir c8oMBaaS
-$ cd c8oMBaaS
-$ wget https://raw.githubusercontent.com/convertigo/docker/master/compose/mbaas/docker-compose.yml
+$ mkdir convertigo
+$ cd convertigo
+$ curl -sL https://github.com/convertigo/docker/archive/refs/heads/compose.tar.gz | tar xvz --strip-components=1
 $ docker compose up -d
 ```