1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-06-19 22:06:27 +00:00
2018-06-23 00:12:08 +02:00

13 lines
321 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;"