Giter Site home page Giter Site logo

go-faustino / docker-zulip Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zulip/docker-zulip

0.0 0.0 0.0 927 KB

Docker Image and configuration for Zulip

Home Page: https://zulipchat.com/

License: Apache License 2.0

Dockerfile 14.79% Shell 85.21%

docker-zulip's Introduction

Welcome to docker-zulip!

Docker Repository on Quay.io docker-zulip stream

Image available from:

Current Zulip version: 1.8.1 Current Docker image version: 1.8.1-0


This is a container image for Zulip.

Quote from Zulip.Org:

Powerful open source group chat

Zulip's Github


Requirements

Zulip recommends at least about 1.9GB RAM on the machine you are running on.

How to configure the container

See the Configuration Page for infos about configuring the container to suit your needs.


How to get the container running

To pull the image run

docker pull quay.io/galexrt/zulip:1.8.1-0 or docker pull galexrt/zulip:1.8.1-0

For the latest development image run

docker pull quay.io/galexrt/zulip:dev


Configure your docker-compose.yml, before running the container!

If you don't configure it, you'll end up with a misconfigured Zulip Instance! You need a working SMTP server for Zulip to allow the creation of the first user!

Check the wiki page on how to configure the image, here. Wiki Page


Starting the container

To start the container, you have to use either use docker-compose or kubernetes:

Don't forget to configure your docker-compose.yml properly!!

Using docker-compose

Change to the root of the source folder and use docker-compose up.

Using Kubernetes

A Kubernetes pod file is in the kubernetes/ folder. The command to run it would be kubectl create -f ./kubernetes/.


Creating Zulip User

To be able to create a Zulip user, you create a Realm inside Zulip. To trigger creation of a Realm you can run:

docker-compose exec zulip /opt/createZulipRealm.sh

Follow the link you just got printed and follow the instructions to create an user account and a realm in Zulip.

After creating an user and a realm in Zulip through the link, move on to Adding User to Admins if you want to add an user to the admin group.

Adding User to Admins

For adding the created user to the admins in the realm created in Zulip. You need to replace REALM_ID with the lowercase name of the Realm created and the EMAIL_ADDRESS_OF_USER with the email address of the user you created.

docker-compose exec zulip sudo -u zulip /home/zulip/deployments/current/manage.py knight -f -r REALM_ID EMAIL_ADDRESS_OF_USER

After this the user should be added to admins in the realm and you should see more settings after a reload of the Zulip webpage in your browser.


Troubleshooting

zulip-django exited

The main reason for this to happen is that you are missing a config file named uwsgi.ini. The get this file run:

// This command copy the output of file uwsgi.ini into your data volume on the host.
// Replace `YOUR_ZULIP_DATA_PATH` with your path.
host$ docker run --rm quay.io/galexrt/zulip:1.5.2 cat /etc/zulip/uwsgi.ini > YOUR_ZULIP_DATA_PATH/settings/etc-zulip/uwsgi.ini

Community

Chat with other docker-zulip users on the chat.zulip.org. The stream/channel is #production-help.

Contributing

If you find this container useful, here's how you can help:

  • Help users with issues they may encounter
  • Send a pull request with your awesome new features and bug fixes

Please use 4 spaces as intent in the files, Thanks!

A big thanks to everybody that sends in issues, pull request! and helps with the issues/tickets! :-)

docker-zulip's People

Contributors

galexrt avatar rohlik avatar bryanlarsen avatar cmcneil avatar rht avatar gravitas-drone avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.