Changes between Initial Version and Version 1 of MRBS HowTo Install Using Docker


Ignore:
Timestamp:
10/06/16 12:10:14 (8 years ago)
Author:
saj.issa
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MRBS HowTo Install Using Docker

    v1 v1  
     1Please read [[Docker HowTo Install]] before installing MRBS
     2
     3Tags: [[MRBS]] [[HowTo]]
     4
     5== Prerequisites if required
     6
     7'''Step 1 - Install Git'''
     8
     9    {{{$ sudo apt-get update }}}
     10
     11    {{{$ sudo apt-get install git }}}
     12
     13'''Step 2 - Install Docker'''
     14
     15[[Docker HowTo Install]]
     16
     17'''Step 3 - Install NGINX'''
     18
     19[[NGINX HowTo Install Using Docker]]
     20
     21== Install MRBS using Docker
     22
     231. On the host machine go to directory
     24
     25    {{{cd /local/docker/<USER>/}}}
     26
     272. Go to this directory and checkout from docker_appointments
     28
     29    {{{sudo git clone https://github.com/LCBRU/docker_appointments.git}}}
     30
     31    {{{sudo chmod -R 777 docker_briccs_labels/}}}
     32
     33This will create a directory /local/docker/<USER>/docker_briccs_labels
     34
     353. To build the image :
     36
     37    {{{sudo docker build -t lcbruit/appointments_install:v1.1 .}}}
     38
     394. To run the docker container :
     40
     41    {{{sudo docker run -v /share:/share -itd -p 81:80 lcbruit/appointments_install:v1.1}}}
     42
     435. Test BRICCS Label Printing :
     44
     45    {{{http://XXXXXXXXXXXXXX.xuhl-tr.nhs.uk:81}}}
     46
     476. If required amend to NGINX configuration, particularly /share/nginx.conf
     48
     49
     50
     51
     52