mirror of
https://github.com/zulip/docker-zulip.git
synced 2025-11-15 11:21:34 +00:00
Removed the deprecated scripts/generate_certs.sh
Fixed some env vars in the scripts/docker_start.sh
This commit is contained in:
@@ -55,9 +55,9 @@ docker run \
|
||||
-e "RABBITMQ_HOST=rabbitmq" \
|
||||
-e "ZULIP_USER_EMAIL=example@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_RABBITMQ_PASS=zulip" \
|
||||
-e "ZULIP_SECRETS_rabbitmq_password=zulip" \
|
||||
-e "ZULIP_SETTINGS_EXTERNAL_HOST=example.com" \
|
||||
-e "ZULIP_SETTINGS_ZULIP_ADMINISTRATOR=admin@example.com" \
|
||||
-e "ZULIP_SETTINGS_ADMIN_DOMAIN=example.com" \
|
||||
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user