Removed the deprecated scripts/generate_certs.sh

Fixed some env vars in the scripts/docker_start.sh
This commit is contained in:
Alexander Trost
2015-10-25 03:03:43 +01:00
parent 3b8023c721
commit eb6237061e
2 changed files with 2 additions and 15 deletions

View File

@@ -55,9 +55,9 @@ docker run \
-e "RABBITMQ_HOST=rabbitmq" \ -e "RABBITMQ_HOST=rabbitmq" \
-e "ZULIP_USER_EMAIL=example@example.com" \ -e "ZULIP_USER_EMAIL=example@example.com" \
-e "ZULIP_USER_DOMAIN=example.com" \ -e "ZULIP_USER_DOMAIN=example.com" \
-e "ZULIP_AUTH_BACKENDS_EmailAuthBackend=EmailAuthBackend" \ -e "ZULIP_AUTH_BACKENDS=EmailAuthBackend" \
-e "ZULIP_SECRETS_email_password=12345" \ -e "ZULIP_SECRETS_email_password=12345" \
-e "ZULIP_SECRETS_RABBITMQ_PASS=zulip" \ -e "ZULIP_SECRETS_rabbitmq_password=zulip" \
-e "ZULIP_SETTINGS_EXTERNAL_HOST=example.com" \ -e "ZULIP_SETTINGS_EXTERNAL_HOST=example.com" \
-e "ZULIP_SETTINGS_ZULIP_ADMINISTRATOR=admin@example.com" \ -e "ZULIP_SETTINGS_ZULIP_ADMINISTRATOR=admin@example.com" \
-e "ZULIP_SETTINGS_ADMIN_DOMAIN=example.com" \ -e "ZULIP_SETTINGS_ADMIN_DOMAIN=example.com" \

View File

@@ -1,13 +0,0 @@
#!/bin/bash
command -v openssl >/dev/null 2>&1 || { echo >&2 "openssl package not installed. Aborting."; exit 1; }
openssl genrsa -des3 -passout pass:x -out server.pass.key 4096
openssl rsa -passin pass:x -in server.pass.key -out zulip.key
rm -f server.pass.key
openssl req -new -key zulip.key -out server.csr
openssl x509 -req -days 365 -in server.csr -signkey zulip.key -out zulip.combined-chain.crt
rm -f server.csr
echo "Copy the following files to the docker-zulip data folder:"
echo "* zulip.key"
echo "* zulip.combined-chain.crt"