Generating and delivering content with using Content Generator and Content Deliverer.
docker run --rm -it -p 3000:3000 jakubgawlas/lorem-docu
Application is running on localhost:3000
.
Available endpoints:
- GraphQL IDE (/graphiql)
- GraphQL endpoint (/graphql), for example http://localhost:3000/graphql?query={documentation{name%20description%20documents{title%20tags%20content}}}
- Resources (/files/:filename)
Files required to generate documentation are placed in src
dir:
- configuration file
docu.config.json
docu
dir, which contains sources of content to generate
docker build --build-arg RESOURCES_BASE_URI={{URI}} -t my-docu .
- {{URI}} base URI where resources will be served (default:
localhost:3000/files
)
- Deployment
kubectl create -f kubernetes/deployment.yaml
- Service
kubectl create -f kubernetes/service.yaml
- Ingress
kubectl create -f kubernetes/ingress.yaml