set cert and hostname
This commit is contained in:
parent
fb9cdfff58
commit
de9aaa00cd
1 changed files with 1 additions and 2 deletions
|
@ -237,14 +237,13 @@ class eidas_proxy($version='1.0.0') {
|
||||||
image => 'docker.sunet.se/eidas-proxy',
|
image => 'docker.sunet.se/eidas-proxy',
|
||||||
imagetag => $_version,
|
imagetag => $_version,
|
||||||
ports => ['443:8443'],
|
ports => ['443:8443'],
|
||||||
hostname => "$hostname",
|
|
||||||
volumes => ['/var/log/eidas-proxy:/var/log/eidas-proxy',
|
volumes => ['/var/log/eidas-proxy:/var/log/eidas-proxy',
|
||||||
'/etc/eidas-proxy:/etc/eidas-proxy',
|
'/etc/eidas-proxy:/etc/eidas-proxy',
|
||||||
'/etc/ssl:/etc/ssl'],
|
'/etc/ssl:/etc/ssl'],
|
||||||
env => ["PROXY_SERVICE_PATH_PREFIX=/etc/eidas-proxy/$country",
|
env => ["PROXY_SERVICE_PATH_PREFIX=/etc/eidas-proxy/$country",
|
||||||
"PROXY_SERVICE_DOMAIN_PREFIX=https://$hostname/eidas-ps",
|
"PROXY_SERVICE_DOMAIN_PREFIX=https://$hostname/eidas-ps",
|
||||||
"SPRING_PROFILES_ACTIVE=se",
|
"SPRING_PROFILES_ACTIVE=se",
|
||||||
"CERTNAME=${hostname}_infra",
|
"CERTNAME=${::fqdn}_infra",
|
||||||
"SPRING_CONFIG_LOCATION=/etc/eidas-proxy/$country/cfg/",
|
"SPRING_CONFIG_LOCATION=/etc/eidas-proxy/$country/cfg/",
|
||||||
"PROXY_SERVICE_COOKIEENCRYPTPW=$proxy_service_cookie_encrypt_pw"]
|
"PROXY_SERVICE_COOKIEENCRYPTPW=$proxy_service_cookie_encrypt_pw"]
|
||||||
} ->
|
} ->
|
||||||
|
|
Loading…
Add table
Reference in a new issue