/jumpinchat-deploy

JumpInChat deploy scripts and docker compose config

Primary LanguageShellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

JumpInChat deployment scripts

Getting started

Requires docker and docker-compose

Services list

  • srv: Web and chat client server
  • home: Home page, directory and user settings site
  • janus: media server config
  • mongodb: mongodb database config
  • nginx: nginx config
  • haproxy: load balancer proxy config

Also required is jumpinchat/jumpinchat-emails for the email service

How to use

Running Janus locally

  docker-compose -f docker-compose.yml -f local-compose.yml up -d janus && dc logs -f janus

Run all services

You will need to update a .env file with the appropriate secrets

  docker-compose --env-file ./example.env up

Since MongoDB replication is used, you'll have to set that up by running ./initMongoRepl.sh

Publishing packages

Since I used a privately hosted docker registry, you will have to update the image URLs in docker-compose.yml with your own, or a public registry

  # e.g.
  web:
    image: registry.example.com/<user>/web

buld the image

  docker-compose build web

then push them

  docker push registry.example.com/<user>/web:<tag>

It's best to do this if you plan on hosting efficiently on a remote server, to avoid having to build containers on the server itself.