mirror of https://github.com/samply/bridgehead.git
add port quick solution for ssl cert verification with portnumber; genereate persistent connector password
This commit is contained in:
parent
404e5440b8
commit
5c65ae9638
|
@ -11,6 +11,8 @@ services:
|
||||||
NNGM_CTS_APIKEY: ${NNGM_CTS_APIKEY}
|
NNGM_CTS_APIKEY: ${NNGM_CTS_APIKEY}
|
||||||
NNGM_CRYPTKEY: ${NNGM_CRYPTKEY}
|
NNGM_CRYPTKEY: ${NNGM_CRYPTKEY}
|
||||||
restart: always
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "8080:8080"
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.connector.rule=PathPrefix(`/ccp-connector`)"
|
- "traefik.http.routers.connector.rule=PathPrefix(`/ccp-connector`)"
|
||||||
|
|
|
@ -7,4 +7,5 @@ function nngmSetup() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
CONNECTOR_POSTGRES_PASSWORD="$(cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | head -c 20)"
|
#CONNECTOR_POSTGRES_PASSWORD="$(cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | head -c 20)"
|
||||||
|
CONNECTOR_POSTGRES_PASSWORD="$(echo -n /etc/bridgehead/pki/mannheim.priv.pem | sha256sum | head -c 20)"
|
||||||
|
|
Loading…
Reference in New Issue