wiki:BRICCS Label Printing HowTo Install Using Docker

Version 9 (modified by saj.issa, 8 years ago) ( diff )

--

BRICCS Label Printing HowTo Install Using Docker

Tags: BRICCS Label Printing HowTo

Prerequisites if required

Step 1 - Install Docker

Docker HowTo Install

Step 2 - Install Git

$ sudo apt-get update

$ sudo apt-get install git

Step 3 - Install NGINX

NGINX HowTo Install Using Docker

Install BRICCS Label Printing using Docker

  1. On the host machine go to directory

cd /local/docker/<USER>/

  1. Go to this directory and checkout from docker_briccs_labels

sudo git clone https://github.com/LCBRU/docker_briccs_labels.git

sudo chmod -R 777 docker_briccs_labels/

This will create a directory /local/docker/<USER>/docker_briccs_labels

  1. To build the image :

sudo docker build -t lcbruit/briccs_label:v1.1 .

  1. To run the docker container :

sudo docker run -itd -p 8080:8080 lcbruit/briccs_label:v1.1

  1. Test BRICCS Label Printing :

http://XXXXXXXXXXXXXX.xuhl-tr.nhs.uk:8080

  1. If required amend to NGINX configuration, particularly /share/nginx.conf

Further Info

  1. This docker image uses tomcat as the application server.
  1. Printer template definitions are located in WEB-INF\classes\org\bru\briccs\labels\webapp
  1. Templates are located in WEB-INF\classes
  1. Both template definitions and templates can be changed prior to build in the zip file provided.
Note: See TracWiki for help on using the wiki.