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/irrd
irrd.user
:irrd
irrd.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:/etc/irrd.yaml \
--volume /path/to/irrexplorer.yaml:/etc/irrexplorer.yaml \
ghcr.io/mattkobayashi/irrd
-
Review the prerequisites for irrd here.
-
Omit the
log.logfile_path
setting from your configuration file. This will log the daemon's output tostdout
, allowing you to view logs with thedocker logs
command.