IRRd and IRR Explorer in a container image.
Create appropriate configuration files and mount them into the container as shown below. An example configuration file can be found here, and a list of all available configuration options can be found here.
irrd.database_url:"postgresql://irrd:irrd@irrd_postgres/irrd"irrd.redis_url:"redis://irrd_redis"irrd.piddir:/opt/irrdirrd.user:irrdirrd.group:irrd
irrexplorer.database_url:"postgresql://irrexplorer:irrexplorer@irrd_postgres/irrexplorer"irrexplorer.irrd_endpoint:"https://irrd.example.net/graphql/"
Start the daemon:
docker run \
-d \
--name irrd \
--volume /path/to/irrd.yaml:/opt/irrd/irrd.yaml \
--volume /path/to/irrexplorer.yaml:/opt/irrexplorer/irrexplorer.yaml \
ghcr.io/mattkobayashi/irrd-
Review the prerequisites for irrd here.
-
Omit the
log.logfile_pathsetting from your configuration file. This will log the daemon's output tostdout, allowing you to view logs with thedocker logscommand.