Stars-And-Focus / ion-app-web

ion web app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ion-app-web

ion web app

Screenshots

Docker

Warning: make sure ion is deployed by docker too

Local hosting and auto ssl

Build docker image with production build of web app. erve on https://localhost:9090

Biz websocket is proxied using caddy server and docker network from ion.

docker network create ionnet
docker-compose -f docker-compose.yml up

Chat: https://localhost:9090

Run this to rebuild when you modify the code

docker-compose -f docker-compose.yml up --build

Prod hosting and auto SSL

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

Make sure these ports are exposed publicly

80/tcp
443/tcp

Configure your domain/email in docker-compose.prod.yml

WWW_URL=yourdomain
ADMIN_EMAIL=yourname@yourdomain

Bring up docker with

docker pull pionwebrtc/ion-app-web
docker network create ionnet
docker-compose -f docker-compose.prod.yml up

Chat:

https://yourdomain

Local Dev

Setup

Install node modules

npm i

Run

Start dev server

npm start

Chat: https://localhost:8080

About

ion web app

License:MIT License


Languages

Language:JavaScript 84.1%Language:SCSS 13.8%Language:Shell 1.5%Language:Dockerfile 0.3%Language:HTML 0.3%