|
|
|
|
|
- Overview
- How to?
- Required configuration
- Running the image (creation of the container)
- Important
Docker image of the WEBDEV Application Server
Starting with version 24, a Docker container with the WEBDEV Application Server is available in Docker Hub: https://hub.docker.com/r/windev/webdevInstalling a WEBDEV Linux Application Server is very easy. All it takes is one line of code. Depending on the type of server (10 or unlimited simultaneous connections), you will be asked for the server's serial number. Note: Only the 64-bit version is available. Required configuration - The site must be suitable for Linux deployment. The option "Enable compilation errors for Linux compatibility" must be enabled. This option is available in the "Compatibility" tab, in the description window of the current configuration.
- The Linux distribution used does not matter. However, to use the Docker container that contains the WEBDEV Application Server, it is necessary to be familiar with Docker and, in particular:
- know how to install a new container from the Docker image of the WEBDEV Application Server,
- manage at least one volume required for data persistence,
- manage network configuration inside Docker. For example, you must be able to handle the case where one or more containers with the WEBDEV Application Server image need to access data hosted by an HFSQL Client/Server server.
Running the image (creation of the container) - The name of the preset image is:
"windev/webdev:<Version>" - You must activate the application server by passing the serial number on the command line. The parameter to pass must be in the following format:
--configuration="<Numéro de série>-<Clé d'activation>" If this parameter is not specified,a 10-connection application server will be used. - To persist applications and their data (e.g. if the image changes), you must:
- Use a volume. The command to create a volume:
"docker volume create <NomVolume>" - Mount the volume into the container on
"/var/lib/WEBDEV/<Version majeure.mineure>/"
- Both a WEBDEV account and a Linux account named "webdevuser" will be created:
- A password will be generated and assigned to them.
- It is important to see the container output:
- by performing an interactive start with "-it",
- by consulting the container logs with the syntax:
"docker logs <ID du conteneur>"
Example of command line: docker run -p 80:80 -v WB:/var/lib/WEBDEV/30.0/ windev/webdev:FR300054h --configuration="<Numéro de série>-<Clé d'activation>" Important - A new container uses data from an existing volume. For example, the new container uses data from a previous container following an image update (WEBDEV (minor) version change).. In this case:
- This operation is possible only with the same major version.
- Caution: A new password is created. This password is applied to the "webdevuser" WEBDEV and Linux accounts, so you need to change the password for future site deployments.
- To connect to the remote administrator "http[s]://<server>/WDAdminWeb":
- The WEBDEV deployment account:
webdevuser/<Mot de passe généré et affiché>
- The libqtgui5 library is installed: generated images and printouts are available. However, only one font is installed.
- Reminder of basic Docker commands:
- Stop a container:
- Restart a container:
- Caution! No interactive start:
This sends the SIGWINCH signal that Apache interprets as a stop command.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|