Anthology is a reimplementation of the Terraform Registry API, intended to be used when your modules can't, shouldn't or don't need to be public. For all means and purposes it works in the same way as the public registry.
Every release is automatically published to the Docker Hub. You can set commandline parameters by overriding the command.
running on port 80, using my-module-bucket for storage:
docker run -p 80:80 erikvanbrakel/anthology -port=80 -bucket=my-module-bucket
using docker-compose
version: '2.1'
services:
registry:
command: -port=80 -bucket=my-module-bucket
build: erikvanbrakel/anthology:latest
ports:
- 80:80
The easiest way to deploy is to use the anthology module in the public registry.
module "anthology" {
source = "erikvanbrakel/anthology/aws"
version = "0.0.2"
storage_bucket = "this-bucket-stores-my-modules"
tld = "example.com" # the registry will be hosted at registry.example.com
}
WARNING WARNING WARNING
This module provisions several resources, among which compute and storage components. This is not free, so make sure you are aware of the cost before provisioning!
| Parameter | Description | Default |
|---|---|---|
| -module_path | Base path for module storage | |
| -port | Port to listen on | 1234 |
| -tls_cert | path to the server certificate | |
| -tls_key | path to the server key | |
| -bucket | name of the S3 bucket for storage |
When tls_cert AND tls_key are set the server will use https. Otherwise it defaults to http.
$ claude mcp add anthology \
-- python -m otcore.mcp_server <graph>