Skip to content
/ ion Public
forked from ionorg/ion

Distributed RTC System by pure Go and Flutter

License

Notifications You must be signed in to change notification settings

djego/ion

 
 

Repository files navigation

ION

ION is a distributed RTC system written by pure go and flutter

Financial Contributors on Open Collective Build Status MIT slack Go Report Card

Wiki

https://github.com/pion/ion/wiki

Architecture

arch

Contributing

Roadmap

Projects Welcome contributing to ion!

Stars

Stargazers over time

Screenshots

iOS/Android

PC/HTML5

How to use

Local Deployment

1. Clone

git clone https://github.com/pion/ion

2. Run

Firstly pull images. Skip this command if you want build images locally

docker-compose pull
docker-compose up

3. Chat!

Open this url with chrome

http://localhost:8080

Online Deployment

1. Clone

git clone https://github.com/pion/ion

2. Set Env

export WWW_URL=yourdomain
export ADMIN_EMAIL=yourname@yourdomain

3. Configure docker compose

Enable production ports and Caddy file for web service in docker-compose.yml.

4. Expose Ports

Ensure the following ports are exposed or forwarded.

80/tcp
443/tcp
5000-5200/udp

5. Run

docker-compose up

6. Chat!

Open this url with chrome

https://yourdomain

Docker Tips

The provided docker-compose works for deploying to open usage, and can also be used for local development. It also supports auto-generate of certificates via LetsEncrypt.

It accepts the following enviroment variables.

  • WWW_URL -- Public URL if auto-generating certificates
  • ADMIN_EMAIL -- Email if auto-generating certificates

To run on conference.pion.ly you would run WWW_URL=conference.pion.ly ADMIN_EMAIL=admin@pion.ly docker-compose up

If WWW_URL is set you will access via https://yourip:8080 OR http://yourip:8080 if not running with TLS enabled.

About

Distributed RTC System by pure Go and Flutter

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 65.8%
  • JavaScript 21.9%
  • Shell 7.6%
  • CSS 2.9%
  • Python 1.0%
  • Dockerfile 0.6%
  • Makefile 0.2%