Mercurial > public > ssdt-docker
comparison prod/install-ess-app.sh @ 528:e483148f5283
Add backup, restore, and update ess scripts. Handle ess in workflows update and remove container stop/removal from install ess script.
author | Marc Davis <marc.davis@mcoecn.org> |
---|---|
date | Tue, 23 Apr 2024 14:47:12 -0400 |
parents | cb688221b17b |
children | b6f03eb10850 |
comparison
equal
deleted
inserted
replaced
527:4b026170dfea | 528:e483148f5283 |
---|---|
10 docker login $artifactUrl -u $artifactUser -p $artifactPassword | 10 docker login $artifactUrl -u $artifactUser -p $artifactPassword |
11 # | 11 # |
12 # docker pull app image | 12 # docker pull app image |
13 echo "Attempting to pull $artifactUrl/ess-app:$appVersion" | 13 echo "Attempting to pull $artifactUrl/ess-app:$appVersion" |
14 docker pull $artifactUrl/ess-app:$appVersion | 14 docker pull $artifactUrl/ess-app:$appVersion |
15 # | |
16 # docker stop ess app container | |
17 echo "Attempting to stop $entityId-ess-app container" | |
18 docker stop $entityId-ess-app | |
19 # | |
20 # docker rm ess app container | |
21 echo "Attempting to remove $entityId-ess-app container" | |
22 docker rm $entityId-ess-app | |
23 # | 15 # |
24 # Builder docker run command based on settings in env files | 16 # Builder docker run command based on settings in env files |
25 echo "Building docker run command" | 17 echo "Building docker run command" |
26 dockerRunCommand="docker run --name $entityId-ess-app | 18 dockerRunCommand="docker run --name $entityId-ess-app |
27 --restart=unless-stopped | 19 --restart=unless-stopped |