diff --git a/blueprints/zulip/docker-compose.yml b/blueprints/zulip/docker-compose.yml index e8415255..bf9ec636 100644 --- a/blueprints/zulip/docker-compose.yml +++ b/blueprints/zulip/docker-compose.yml @@ -65,7 +65,7 @@ services: - zulipRedisData:/data zulip: - image: ghcr.io/zulip/zulip-server:12.0-1 + image: ghcr.io/zulip/zulip-server:12.1-0 restart: unless-stopped depends_on: - database @@ -85,8 +85,8 @@ services: SETTING_MEMCACHED_LOCATION: memcached:11211 SETTING_RABBITMQ_HOST: rabbitmq SETTING_REDIS_HOST: redis - DISABLE_HTTPS: "True" - SSL_CERTIFICATE_GENERATION: self-signed + CONFIG_application_server__http_only: "true" + TRUST_GATEWAY_IP: ${ZULIP_TRUST_GATEWAY_IP} volumes: - zulipData:/data ulimits: @@ -110,4 +110,4 @@ secrets: zulip__redis_password: environment: ZULIP_REDIS_PASSWORD zulip__secret_key: - environment: ZULIP_SECRET_KEY \ No newline at end of file + environment: ZULIP_SECRET_KEY diff --git a/blueprints/zulip/template.toml b/blueprints/zulip/template.toml index f975978f..c10eebd6 100644 --- a/blueprints/zulip/template.toml +++ b/blueprints/zulip/template.toml @@ -11,10 +11,11 @@ env = [ "ZULIP_RABBITMQ_PASSWORD=${password:32}", "ZULIP_REDIS_PASSWORD=${password:32}", "ZULIP_SECRET_KEY=${password:64}", + "ZULIP_TRUST_GATEWAY_IP=True", ] mounts = [] [[config.domains]] serviceName = "zulip" port = 80 -host = "${main_domain}" \ No newline at end of file +host = "${main_domain}"