Setting up PDF service with MCR
You must set up a document store to save the PDF document so that the PDF service can function.
You establish the connection to your Blob storage account by setting the following environment variables in the Docker container:
- ManyWho_BlobStorage_Hostname
- ManyWho_BlobStorage_Port
- ManyWho_BlobStorage_AccessKey
- ManyWho_BlobStorage_SecretKey
Setting up Minio
If you need to use a self-hosted local document store, you can set this up using Minio. For more information, refer to the Minio documentation.
Add the following section to your local runtime docker installation file:
-
Image: minio/minio
-
Command: server /data
-
Environment:
MINIO_ACCESS_KEY: <insert-access-key>
MINIO_SECRET_KEY: <insert-secret-key>
MINIO_HTTP_TRACE: /tmp/trace.log -
Ports: - 9001:9000
-
Volumes: - ../data:/data
Then in the same docker-compose file, add the following to the runtime section:
- ManyWho_BlobStorage_Hostname=minio
- ManyWho_BlobStorage_Port=9000
- ManyWho_BlobStorage_AccessKey=<insert-access-key>
- ManyWho_BlobStorage_SecretKey=<insert-secret-key>