Rendertron
Installation
Docker image for rendertron (https://github.com/GoogleChrome/rendertron)
Environment variables
In order to run the code, some environment variables are needed. They are specified in the template.env
file at the root of the project.
For a local deployment:
cp template.env .env
- Edit .env according to the chosen configuration
The values will be read from the file by default when running with docker. If you run the service outside of docker you can export those variables.
Running the app with docker
# build
docker-compose build
# deploy
docker-compose up [-d]
# build and deploy
docker-compose up --build [-d]