Official images for iChen® Server 4 for Linux and Windows
414
| Tag | Description | Version | Base Image | Environment | Framework |
|---|---|---|---|---|---|
| 4.3-linux-amd64 | Stand-alone server. | 4.3 | microsoft/dotnet:2.1-runtime | Linux x64 | .NET Core 2.1 |
| 4.3-beta2-linux-arm32 | Stand-alone server. | 4.3b2 | microsoft/dotnet:2.1-runtime | Linux ARM32 | .NET Core 2.1 |
| 4.3-beta2-windows-x64 | Stand-alone server. | 4.3b2 | microsoft/dotnet-framework:4.7.2-runtime | Windows x64 | .NET Framework 4.7.2 |
| 4.3-beta2-windowscore-x64 | Stand-alone server. | 4.3b2 | microsoft/dotnet:2.1-runtime | Windows x64 | .NET Core 2.1 |
| Port Number | Description |
|---|---|
| 34954 | iChen® protocol |
| 34956 | Simple Message Protocol (SMP), disabled by default. To enable, see Advanced Configuration below. |
| 5788 | Open Protocol™ |
| 5757 | Web/REST interface, HTTP by default. To enable HTTPS, see Advanced Configuration below. |
Port specified in iChenWeb_Http_Redirection_Port | HTTP end-point for the web/REST interface (when HTTPS is enabled). Traffic to this end-point will be redirected to the port 5757. For details, see Advanced Configuration below. |
For Windows containers, ports 34954, 5757 and 5788 are EXPOSEd in order to get around port-forwarding problems on Windows systems. If other ports are needed, then the --expose flag must be used to EXPOSE those ports.
| Path in Container | Description |
|---|---|
/app/logs | Path to directory on host to collect log files. |
/app/iChenServer.config | Path to override system configuration file on host. |
/app/log4net.config | Path to override Log4Net configuration file on host. |
/app/assets/certificate.p12 | SSL certificate for HTTPS (if enabled). The default certificate is self-signed and should only be used in development, not production. |
docker run -d -p 34954:34954 -p 5757:5757 -p 5788:5788 -v /path/to/logs:/app/logs chenhsong/ichen-server:version
docker run -d -p 34954:34954 -p 5757:5757 -p 5788:5788 -v D:\path\to\logs:C:\app\logs chenhsong/ichen-server:version
The standard image contains typical configuration settings to run a single, stand-alone instance of the iChen® Server while providing most services. This is typically enough for most applications unless a large number of machines are concurrently connected. Even those cases may be more easily solved by upgrading to a more powerful server with more/faster CPU's, more memory etc.
When special features are being used (e.g. archiving to an external database, Auto-Login setting, provisioning an external archive database etc.), there may be a need to override the default settings on the system configuration file (iChenServer.config).
To override system configuration settings, provide an alternative copy of iChenServer.config and map the appropriate file path inside the container to this alternative copy (via the docker run command):
-v /path/to/iChenServer.config:/app/iChenServer.config
A sample version of the configuration file can be obtained here.
Format of the iChenServer.config file and all settings can be found in this document.
The iChen® Server uses Log4Net as its primary logging framework. Configuration settings for Log4Net reside in the file log4net.config.
To customize logging, provide an alternative log4net.config configuration file and map it via the docker run command:
-v /path/to/log4net.config:/app/log4net.config
Provide an alternative iChenServer.config configuration file and map it via the docker run command:
-v /path/to/iChenServer.config:/app/iChenServer.config
Provide an SSL certificate and map it via the docker run command:
-v /path/to/my-certificate.p12:/app/assets/certificate.p12
The default certificate is self-signed and should only be used in developmental environment, not production.
Add the required settings in iChenServer.config:
| Setting | Value |
|---|---|
Https_Certificate_File | ./assets/certificate.p12 |
Https_Certificate_Hash | Password for certificate. |
iChenWeb_Http_Redirection_Port | HTTP end-point to redirect to HTTPS. Usually 5758. |
Map the HTTP redirection port (specified in the iChenWeb_Http_Redirection_Port setting above) via the docker run command:
-p 80:5758
The above mapping, as an example, maps the iChenWeb_Http_Redirection_Port (which is assumed set to 5758) to the standard HTTP port of 80.
Content type
Image
Digest
Size
101.5 MB
Last updated
about 7 years ago
docker pull chenhsong/ichen-server:4.3-linux-amd64