Skip to content

Commit

Permalink
Reso configurabile tramite docker l'attivazione del check greenpass.
Browse files Browse the repository at this point in the history
  • Loading branch information
criluc committed Oct 18, 2021
1 parent 45a6666 commit 34ff51f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions conf/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,9 @@ company.code =CNR
company.name =Consiglio Nazionale delle Ricerche
company.url =https://www.cnr.it

# Abilita il job di controllo green pass
greenpass.active=false

## ~~~~~~~~~~~~~~
## Fine dati dell'ente/azienda

Expand Down
7 changes: 7 additions & 0 deletions docker_conf/init
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,13 @@ sed 's#{{TELEWORK_PASS}}#'"${TELEWORK_PASS}"'#' -i ${APP_HOME}/conf/prod.conf

### Fine configurazione parametri telework-stampings

### Configurazione dell'attivazione del controllo del Green Pass

GREENPASS_ACTIVE=${GREENPASS_ACTIVE:-false}

sed 's#{{GREENPASS_ACTIVE}}#'"${GREENPASS_ACTIVE}"'#' -i ${APP_HOME}/conf/prod.conf

### Fine configurazione parametri relativi al Green PAss

appRun () {
if [ "$EVOLUTIONS_ENABLED" = "true" ]; then
Expand Down
3 changes: 3 additions & 0 deletions docker_conf/prod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,6 @@
%prod.telework.base={{TELEWORK_BASEURL}}
%prod.telework.user={{TELEWORK_USER}}
%prod.telework.pass={{TELEWORK_PASS}}

# Abilita il job di controllo green pass
%prod.greenpass.active={{GREENPASS_ACTIVE}}

0 comments on commit 34ff51f

Please sign in to comment.