Skip to content

Commit

Permalink
update instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
mozzy11 committed Oct 31, 2024
1 parent 20f6e79 commit ac281e6
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,15 @@ For offline Installtion,where theres no Intenet acess,
1. Move to directory of the Unziped OpenELIS-Global Docker Installer file

cd OpenELIS-Global_<verion>_docker_installer
1. Load the images and start the containers by running

1. For installing OpenELIS-Global2 the first time ,Load the images and start the containers by running

./run.sh

1. For Upgrading OpenELIS-Global2 with an existing docker installer ,only Load the images in the new docker installer and re-satrt Global Global containers in your existing old Docker installer

./upgrade.sh



1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ createLinuxInstaller() {
mkdir -p ${INSTALLER_CREATION_DIR}/${installerName}/dockerImage
mkdir -p ${INSTALLER_CREATION_DIR}/${installerName}/volumes
cp ./install/run.sh ${INSTALLER_CREATION_DIR}/${installerName}/run.sh
cp ./install/upgrade.sh ${INSTALLER_CREATION_DIR}/${installerName}/upgrade.sh
cp docker-compose.yml ${INSTALLER_CREATION_DIR}/${installerName}/docker-compose.yml
cp -r volumes/* ${INSTALLER_CREATION_DIR}/${installerName}/volumes
cp OpenELIS-Global_DockerImage.tar.gz ${INSTALLER_CREATION_DIR}/${installerName}/dockerImage/OpenELIS-Global_DockerImage.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ services:
- ./volumes/database/database.env
volumes:
# preserves the database between containers
- db-data:/var/lib/postgresql/data
- ./volumes/database/data:/var/lib/postgresql/data
# files here will run on install
- ./volumes/database/dbInit:/docker-entrypoint-initdb.d
logging: *local-logging
Expand Down
12 changes: 12 additions & 0 deletions install/upgrade.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash
cd dockerImage
gunzip -c OpenELIS-Global_DockerImage.tar.gz | docker load
gunzip -c Postgres_DockerImage.tar.gz | docker load
gunzip -c JPAServer_DockerImage.tar.gz | docker load
gunzip -c AutoHeal_DockerImage.tar.gz | docker load
gunzip -c NGINX_DockerImage.tar.gz | docker load
gunzip -c ReactFrontend_DockerImage.tar.gz | docker load
gunzip -c Certs_DockerImage.tar.gz | docker load



0 comments on commit ac281e6

Please sign in to comment.