ion web app
Build docker image with production build of web app. Serve on https://localhost:9090
Biz websocket is proxied using caddy server and docker network from ion.
docker network create ionnet
docker-compose up --build
Enable production ports and Caddy file for web service in docker-compose.yml
.
Make sure these ports are exposed publicly
80/tcp
443/tcp
Configure your domain.
export WWW_URL=yourdomain
export ADMIN_EMAIL=yourname@yourdomain
These variables can also be set in the docker-compose.yml
.
Bring up docker with
docker-compose up --build
Open this url with chrome
https://yourdomain
Install node modules
npm i
Start dev server
npm start
Serves on https://localhost:8080