@@ -41,49 +41,88 @@ services:
4141 # # See https://github.com/zulip/docker-zulip#configuration for
4242 # # details on this section and how to discover the many
4343 # # additional settings that are supported here.
44- DB_HOST : " database"
45- DB_HOST_PORT : " 5432"
46- DB_USER : " zulip"
47- SSL_CERTIFICATE_GENERATION : " self-signed"
48- SETTING_MEMCACHED_LOCATION : " memcached:11211"
49- SETTING_RABBITMQ_HOST : " rabbitmq"
50- SETTING_REDIS_HOST : " redis"
44+ # #
45+ # # The following two settings are required:
5146 SETTING_EXTERNAL_HOST : " localhost.localdomain"
5247 SETTING_ZULIP_ADMINISTRATOR : " admin@example.com"
53- SETTING_EMAIL_HOST : " " # e.g. smtp.example.com
54- SETTING_EMAIL_HOST_USER : " noreply@example.com"
55- SETTING_EMAIL_PORT : " 587"
56- # # It seems that the email server needs to use ssl or tls and can't be used without it
57- SETTING_EMAIL_USE_SSL : " False"
58- SETTING_EMAIL_USE_TLS : " True"
48+
49+ # # Most deploys do SSL termination outside of the container; Zulip
50+ # # automatically generates a self-signed certificate to use on port443.
51+ # # Uncomment this to set up an auto-renewed Lets Encrypt certificate
52+ # # inside the container -- this requires that SETTING_EXTERNAL_HOST be
53+ # # accessible from the public network.
54+ # #
55+ # SSL_CERTIFICATE_GENERATION: "certbot"
56+
57+ # # By default, port 80 redirects to port 443, as is suitable for exposing
58+ # # publicly. To handle traffic directly on port 80 (if doing SSL
59+ # # termination in an outer reverse proxy), uncomment this.
60+ # #
61+ # DISABLE_HTTPS: True
62+
63+ # # If you're using a reverse proxy, you will also need to provide the
64+ # # comma-separated set of IP addresses (or CIDR ranges) to trust here.
65+ # #
66+ # # --> https://zulip.readthedocs.io/en/stable/production/reverse-proxies.html
67+ # #
68+ # LOADBALANCER_IPS: "10.0.0.0/8"
69+
70+ # # Outgoing email settings
71+ # #
72+ # # --> https://zulip.readthedocs.io/en/stable/production/email.html
73+ # #
74+ # SETTING_EMAIL_HOST: "smtp.example.com"
75+ # SETTING_EMAIL_HOST_USER: "noreply@example.com"
76+ # SETTING_EMAIL_PORT: "587"
77+ # SETTING_EMAIL_USE_SSL: False
78+ # SETTING_EMAIL_USE_TLS: True
79+
5980 # # Uncomment to enable the incoming email gateway. You will need to
6081 # # ensure that email to emaildomain.example.com is routed to this host
6182 # # (e.g. via MX record)
83+ # #
84+ # # --> https://zulip.readthedocs.io/en/stable/production/email-gateway.html
85+ # #
6286 # SETTING_EMAIL_GATEWAY_PATTERN: "%s@emaildomain.example.com"
63- ZULIP_AUTH_BACKENDS : " EmailAuthBackend"
64- # # Uncomment this when configuring the mobile push notifications service
65- # SETTING_ZULIP_SERVICE_PUSH_NOTIFICATIONS: "True"
66- # SETTING_ZULIP_SERVICE_SUBMIT_USAGE_STATISTICS: "True"
6787
68- # # If you're using a reverse proxy, you'll want to provide the
69- # # comma-separated set of IP addresses (or CIDR ranges) to trust here.
70- # LOADBALANCER_IPS: ""
88+ # # A comma-separated list of authentication backends to enable. Note that
89+ # # this ZULIP_AUTH_BACKENDS takes the place of
90+ # # SETTINGS_AUTHENTICATION_BACKENDS. This defaults to just
91+ # # EmailAuthBackend.
92+ # #
93+ # # --> https://zulip.readthedocs.io/en/stable/production/authentication-methods.html
94+ # #
95+ # ZULIP_AUTH_BACKENDS: "EmailAuthBackend,GoogleAuthBackend"
96+
97+ # # Uncomment this when configuring the mobile push notifications service.
98+ # # After setting these, you will need to register the server:
99+ # #
100+ # # docker compose exec -it -u zulip zulip /home/zulip/deployments/current/manage.py register_server
101+ # #
102+ # # --> https://zulip.readthedocs.io/en/stable/production/mobile-push-notifications.html
103+ # #
104+ # SETTING_ZULIP_SERVICE_PUSH_NOTIFICATIONS: True
105+ # SETTING_ZULIP_SERVICE_SUBMIT_USAGE_STATISTICS: True
71106
72107 # # By default, files uploaded by users and profile pictures are
73108 # # stored directly on the Zulip server. You can configure files
74109 # # to be stored in Amazon S3 or a compatible data store
75- # # here. See docs at:
76- # #
77- # # https://zulip.readthedocs.io/en/latest/production/upload-backends.html
110+ # # here.
78111 # #
79112 # # If you want to use the S3 backend, you must set
80113 # # SETTING_LOCAL_UPLOADS_DIR to None as well as configuring the
81114 # # other fields.
115+ # #
116+ # # --> https://zulip.readthedocs.io/en/latest/production/upload-backends.html
117+ # #
82118 # SETTING_LOCAL_UPLOADS_DIR: "None"
83119 # SETTING_S3_AUTH_UPLOADS_BUCKET: ""
84120 # SETTING_S3_AVATAR_BUCKET: ""
85121 # SETTING_S3_ENDPOINT_URL: "None"
86122 # SETTING_S3_REGION: "None"
123+
124+ # # For a complete list of possible settings, see:
125+ # # --> https://github.com/zulip/zulip/blob/11.4/zproject/prod_settings_template.py
87126 secrets :
88127 # # Add any additional zulip__ secrets that you defined above.
89128 []
0 commit comments