ion web app
Warning: make sure ion is deployed by docker too
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
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
Install node modules
npm i
Start dev server
npm start
Chat: https://localhost:8080