Sign inSign up

axelor/aio-base

By axelor

Updated over 7 years ago

The base docker images to create all-in-one images of Axelor applications.

Image
0

3.8K

axelor/aio-base repository overview

Introduction

These images are intended to be used as the base of other all-in-one images, but you can still use it to run any Axelor application:

For example:

$ docker run -it \
  -v `pwd`/axelor-erp.war:/var/lib/tomcat/webapps/ROOT.war \
  -p 8080:80 axelor/aio-base

Or build your own image:

FROM axelor/aio-base

ADD axelor-erp.war /var/lib/tomcat/webapps/ROOT.war
CMD ["start"]

and build your image.

SSL Support

In order to run the container with SSL support, provide your own certificates like this:

$ docker run -it \
    -v `pwd`/certs:/etc/nginx/certs:ro \
    -v `pwd`/axelor-erp.war:/var/lib/tomcat/webapps/ROOT.war \
    -p 80:80 \
    -p 443:443 axelor/aio-base

The certs directory should contain certificates with following names:

  • nginx.key - the key file
  • nginx.crt - the certificate file
  • dhparam.pem - the dhparam file

Other Options

The docker image exposes following ports:

  • 80 - nginx http port
  • 443 - nginx https port
  • 8080 - tomcat http port
  • 5432 - postgresql port

The docker image exposes following volumes:

  • /var/lib/tomcat - tomcat base directory
  • /var/lib/postgresql - postgresql data directory
  • /var/log/tomcat - tomcat log files
  • /var/log/postgresql - postgresql log files

Following environment variables can be used to change container settings:

  • NGINX_HOST - the public host name (default: localhost)
  • NGINX_PORT - the public port (default: 443)
  • POSTGRES_USER - the postgresql user name (default: axelor)
  • POSTGRES_PASSWORD - the postgresql user password (default: axelor)
  • POSTGRES_DB - the postgresql database name (default: axelor)

What's Next?

For more details, see axelor documentation.

Tag summary

Content type

Image

Digest

Size

259.6 MB

Last updated

over 7 years ago

docker pull axelor/aio-base