Skip to content

Commit

Permalink
update core, web_ui and software_router components
Browse files Browse the repository at this point in the history
  • Loading branch information
geektortoise committed Aug 10, 2021
1 parent 0cb6b44 commit daa26eb
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
14 changes: 14 additions & 0 deletions configs/software_router/config.groovy.sample
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,19 @@ cytomine.software.sshKeysFile='/root/.ssh/id_rsa'
cytomine.software.descriptorFile = "descriptor.json"

cytomine.software.ssh.maxRetries = 3
cytomine.core.connectionRetries = 20
cytomine.software.allowDockerfileCompilation = true

// In seconds
cytomine.software.repositoryManagerRefreshRate = 3600
cytomine.software.job.logRefreshRate = 15
cytomine.software.pullingCheckRefreshRate = 20
cytomine.software.pullingCheckTimeout = 1800
cytomine.core.connectionRefreshRate = 30

cytomine.software.github.username=""
cytomine.software.github.token=""

cytomine.software.dockerhub.username=""
cytomine.software.dockerhub.password=""

6 changes: 3 additions & 3 deletions start_deploy.sh.sample
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ docker create --name core \
-v /etc/localtime:/etc/localtime \
-v $UPLOADED_SOFTWARES_PATH:/data/softwares/code \
--restart=unless-stopped \
cytomine/core:v3.0.4 > /dev/null
cytomine/core:v3.1.0 > /dev/null

docker cp $PWD/configs/core/cytomineconfig.groovy core:/usr/share/tomcat7/.grails/cytomineconfig.groovy
docker cp $PWD/hosts/core/addHosts.sh core:/tmp/addHosts.sh
Expand All @@ -133,7 +133,7 @@ docker start core
docker create --name web_UI \
-v /etc/localtime:/etc/localtime \
--restart=unless-stopped \
cytomine/web_ui:v1.2.2 > /dev/null
cytomine/web_ui:v1.3.0 > /dev/null

docker cp "${PWD}/configs/web_ui/configuration.json" web_UI:/app/configuration.json
docker cp "${PWD}/configs/web_ui/nginx.conf" web_UI:/etc/nginx/nginx.conf
Expand Down Expand Up @@ -162,7 +162,7 @@ docker create --name software_router \
--link rabbitmq:rabbitmq \
--link slurm:slurm \
--restart=unless-stopped \
cytomine/software_router:v2.0.0 > /dev/null
cytomine/software_router:v2.1.0 > /dev/null

docker cp $PWD/hosts/software_router/addHosts.sh software_router:/tmp/addHosts.sh
docker cp $PWD/configs/software_router/config.groovy software_router:/software_router/config.groovy
Expand Down

0 comments on commit daa26eb

Please sign in to comment.