mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-07 16:06:14 +00:00
14 lines
322 B
Bash
14 lines
322 B
Bash
#!/bin/ash
|
|
|
|
KOPANO_USER=serial
|
|
|
|
export KOPANO_REPOSITORY_BASE_URL="https://download.kopano.io/"
|
|
|
|
export B64_CREDS=$(echo "$KOPANO_USER:$KOPANO_SERIAL" | base64)
|
|
|
|
# inject the secrets into config file
|
|
cat /buildproxy/default.conf | envsubst > /etc/nginx/conf.d/default.conf
|
|
|
|
# run reverse proxy
|
|
exec nginx -g "daemon off;"
|