forked from zulip/docker-zulip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
55 lines (55 loc) · 1.82 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
version: '2'
services:
database:
image: "quay.io/galexrt/postgres-zulip-tsearchextras:latest"
environment:
POSTGRES_DB: zulip
POSTGRES_USER: zulip
POSTGRES_PASSWORD: zulip
volumes:
- "/opt/docker/zulip/postgresql/data:/var/lib/postgresql/data:rw"
memcached:
image: "quay.io/sameersbn/memcached:latest"
restart: always
rabbitmq:
image: "rabbitmq:3.5.5"
hostname: zulip-rabbit
restart: always
environment:
RABBITMQ_DEFAULT_USER: "zulip"
RABBITMQ_DEFAULT_PASS: "zulip"
redis:
image: "quay.io/sameersbn/redis:latest"
volumes:
- "/opt/docker/zulip/redis:/var/lib/redis:rw"
zulip:
image: "quay.io/galexrt/zulip:1.8.1-0"
ports:
- "80:80"
- "443:443"
environment:
DB_HOST: "database"
DB_HOST_PORT: "5432"
DB_USER: "zulip"
DB_PASS: "zulip"
SETTING_MEMCACHED_LOCATION: "memcached:11211"
SETTING_RABBITMQ_HOST: "rabbitmq"
SETTING_REDIS_HOST: "redis"
SECRETS_email_password: "123456789"
SECRETS_rabbitmq_password: "zulip"
SECRETS_secret_key: "REPLACE_WITH_SECURE_SECRET_KEY"
SETTING_EXTERNAL_HOST: "example.com"
SETTING_ZULIP_ADMINISTRATOR: "[email protected]"
SETTING_ADMIN_DOMAIN: "example.com"
SETTING_NOREPLY_EMAIL_ADDRESS: "[email protected]"
SETTING_DEFAULT_FROM_EMAIL: "Zulip <[email protected]>"
SETTING_EMAIL_HOST: "smtp.example.com"
SETTING_EMAIL_HOST_USER: "[email protected]"
SETTING_EMAIL_PORT: "587"
# It seems that the email server needs to use ssl or tls and can't be used without it
SETTING_EMAIL_USE_SSL: "False"
SETTING_EMAIL_USE_TLS: "True"
SETTING_ALLOWED_HOSTS: "[ '*', '127.0.0.2' ]"
ZULIP_AUTH_BACKENDS: "EmailAuthBackend"
volumes:
- "/opt/docker/zulip/zulip:/data:rw"