Docker image of LENA Application Server. (on developing)
10K+
This is an example Dockerfile with LENA application server (Cluster Edition)
This image is built from lena-base image .
docker run -itd -p 8180:8180 lenacloud/lena-cluster:tagname
docker run -itd -p 8180:8180 lenacloud/lena-cluster:tagname -e LENA_MANAGER_ADDRESS=${MANGER_ADDRESS} -e LENA_CONFIG_TEMPLATE_ID=${TEMPLATE_ID}
docker run -itd -p 8180:8180 lenacloud/lena-cluster:tagname -e LENA_MANAGER_ADDRESS=${MANGER_ADDRESS} -e LENA_CONFIG_TEMPLATE_DOWNLOAD=Y -e LENA_MANAGER_ACCESS_KEY=${ACCESS_KEY} -e LENA_CONFIG_TEMPLATE_ID=${TEMPLATE_ID}
With LENA application server you can deploy your application in two ways:
Simply, you can deploy a web application to drop the archive file to dir '/usr/local/lena/servers/appServer/webapps'. More simply you can do it through LENA Manager web console.
Create Dockerfile with following content:
Sometimes you need to customize the application server configuration. There two ways to do it and this blog post tries to summarize it.
The directory '/usr/local/lena/servers/appServer/' is the home of application server. By updating configuration files, you can custmize cofigurations.
And you can do it, via LENA manager console if your application server is registered to LENA Manager.
Specially the Max Heap Memory size is set as 1024m and Max Metaspace Size is set to 128m. You can reset it by updating /usr/local/lena/servers/appServer/bin/setenv.sh file.
LENA write server logs to standard out as default. If environment variable 'LOG_OUTPUT_TYPE' is set as 'file', server logs will be written to dir '/usr/local/lena/servers/appServer/logs/'. You can get it by specifying volume with docker -v.
Tag 1.3.1.0_5 is recently version.
This image contains a license valid for 1 month from the date of creation. If you want to more long term license please contact us via LENA Support Mail ( [email protected] )
Please report any issues or file RFEs via [email protected]
Content type
Image
Digest
sha256:7bd1b9be3…
Size
523.4 MB
Last updated
4 months ago
docker pull lenacloud/lena-cluster:1.3.4.7-EN10-ubuntu22.04-jdk17-openjdk