Skip to content

Instantly share code, notes, and snippets.

@reyman
Created March 27, 2016 19:27
Show Gist options
  • Save reyman/0a1cb49b63629edd9a3b to your computer and use it in GitHub Desktop.
Save reyman/0a1cb49b63629edd9a3b to your computer and use it in GitHub Desktop.
database:
image: "quay.io/galexrt/zulip-postgresql-tsearchextras:latest"
environment:
DB_NAME: zulip
DB_USER: zulip
DB_PASS: zulip
volumes:
- "/opt/docker/zulip/postgresql/data:/var/lib/postgresql: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: "galexrt/zulip:dev"
ports:
- "80:80"
- "443:443"
links:
- database
- memcached
- rabbitmq
- redis
environment:
DEBUG: "True"
DB_HOST: "database"
DB_USER: "zulip"
DB_PASS: "zulip"
SECRETS_email_password: "xxx"
SECRETS_rabbitmq_password: "zulip"
SETTING_MEMCACHED_LOCATION: "memcached:11211"
SETTING_RABBITMQ_HOST: "rabbitmq"
SETTING_REDIS_HOST: "redis"
SETTING_EXTERNAL_HOST: "team.comnmodel.org"
SETTING_ZULIP_ADMINISTRATOR: "reyman64@gmail.com"
SETTING_ADMIN_DOMAIN: "comnmodel.org"
SETTING_NOREPLY_EMAIL_ADDRESS: "noreply@comnmodel.org"
SETTING_DEFAULT_FROM_EMAIL: "Zulip <noreply@comnmodel.org>"
SETTING_EMAIL_HOST: "smtp.gmail.com"
SETTING_EMAIL_HOST_USER: "reyman64@gmail.com"
ZULIP_AUTH_BACKENDS: "ZulipLDAPAuthBackend"
ZULIP_USER_EMAIL: "example@example.com"
ZULIP_USER_PASS: "zulip"
ZULIP_USER_DOMAIN: "example.com"
ZULIP_LDAP_ENABLED: "True"
SETTING_AUTH_LDAP_SERVER_URI: "ldap://51.255.47.40:389"
SETTING_AUTH_LDAP_BIND_DN: "cn=admin,dc=comnmodel,dc=org"
SETTING_AUTH_LDAP_BIND_PASSWORD: "xxx"
SETTING_AUTH_LDAP_USER_SEARCH: "LDAPSearch(\"ou=Users,dc=comnmodel,dc=org\",ldap.SCOPE_SUBTREE,\"(mail=%(user)s)\")"
SETTING_LDAP_APPEND_DOMAIN: "None"
volumes:
- "/opt/docker/zulip/zulip:/data:rw"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment