api-service-pages
v0.12.11
Published
API-based static renderer
Downloads
32
Readme
Server-side Renderer
The Chassis loads it's config from ./config/default.yaml
The "openapi@" directive then causes chassis to load ./docs/swagger.yaml
The Chassis when boots an API using a combination of a custom plugin, built-in features and a remote service via the proxy.
Custom config
host: process.env.KEYCLOAK_HOST
realm: process.env.KEYCLOAK_REALM
clientID: process.env.KEYCLOAK_CLIENT_ID
clientSecret: process.env.KEYCLOAK_CLIENT_SECRET
callbackURL: process.env.KEYCLOAK_CALLBACK
Start the Pages Service
docker build . -t api-service-pages
docker login -u jenkins-pusher -p $DOCKER_PASS docker-push.perci-io.net
docker tag api-service-pages docker-push.perci-io.net/api-service-pages
docker push docker-push.perci-io.net/api-service-pages
Start the MongoDB
docker run -p 27017:27017 -d mongo:latest
docker run -it -p 5101:5101 --network host api-service-pages:latest