A microservice for creating PDF coverpages for use with mirador-pdiiif-plugin.
NodeJS Mirador
Express
Docker Compose
git clone [email protected]:harvard-lts/mirador-coverpages.git
- Make a copy of the config example file
./env-example.txt
- Rename the file to
.env
- Replace placeholder values as necessary
Note: The config file .env is specifically excluded in .gitignore and .dockerignore, since it contains credentials it should NOT ever be committed to any repository.
This command builds all images and runs all containers specified in the docker-compose-local.yml configuration.
docker-compose -f docker-compose-local.yml up -d --build --force-recreate
Open a shell using the exec command to access the mps-viewer container.
docker exec -it mirador-coverpages bash
This command stops and removes all containers specified in the docker-compose-local.yml configuration. This command can be used in place of the 'stop' and 'rm' commands.
docker-compose -f docker-compose-local.yml down