Sign inSign up

lenacloud/lena-web

By lenacloud

•Updated 4 months ago

Docker images of LENA Web Server

Image
1

10K+

lenacloud/lena-web repository overview

⁠LENA Web Server Docker image

This is an example Dockerfile with LENA web server.

⁠Usage

⁠To boot in standalone mode

docker run -it lenacloud/lena-web:tagname

⁠To boot in standalone mode with auto registration to LENA manager console in remote.

docker run -p 7180:7180 -it lenacloud/lena-web:tagname -e LENA_AGENT_RUN=Y -e LENA_MANAGER_ADDRESS=${MANGER_ADDRESS}

  • ${MANGER_ADDRESS} means the IPAddress(or Domain Name):WebServicePort. (ex 172.17.0.2:7700 or hostname.yourdomain:7700)
⁠Web Resource deployment

Simply, you can deploy a web resources to drop them to dir '/usr/local/lenaw/servers/webServer/htdocs'.

⁠To boot in standalone mode with download configuration files from LENA manager.

docker run -itd -p 7180:7180 lenacloud/lena-web:tagname -e LENA_AGENT_RUN=Y -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}

  • ${MANGER_ADDRESS} means the IPAddress(or Domain Name):WebServicePort. (ex 172.17.0.2:7700 or hostname.yourdomain:7700)
  • ${TEMPLATE_ID} means the Id of template (format : :) which is managed in LENA Manager.
  • ${ACCESS_KEY} means the key value which is used to access to LENA manager, this can be acquired from LENA manager web console.
⁠Customizing configuration

Sometimes you need to customize the application server configuration. There two ways to do it.

  • You can use CLI
  • You can use the LENA manager console
⁠Logging

LENA write server logs to dir '/usr/local/servers/webServer/lenaw/logs/'. You can get it by specifying volume with docker -v.

⁠Issues

Please report any issues or file RFEs via [email protected]⁠

Tag summary

Content type

Image

Digest

sha256:e2d524838…

Size

536.5 MB

Last updated

4 months ago

docker pull lenacloud/lena-web:1.3.4.7-ubuntu22.04-jdk17-openjdk