chore: adding Docker compose example/documentation #948
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In a nutshell
We are adding Docker Compose support for deploying IRRd, adding necessary Docker configurations, initialisation scripts, and updates to the documentation. It also includes updates to the
.gitignoreto exclude Docker-related data directories.Changes
Docker Compose Integration:
Dockerfile: Configures a Python 3.12.3 environment and sets up IRRd.docker-compose.yml: Orchestrates the deployment of IRRd with PostgreSQL and Redis, ensuring a cohesive operation of services.init.sh: Script to initialize the IRRd service within the Docker container.irrd.yaml: Provides a Docker-specific configuration template for IRRd.Documentation Update:
Updated
deployment.rstto include a new section detailing the setup process using Docker Compose, aimed at simplifying the deployment of IRRd..gitignoreupdate:irrd/docker/datato prevent tracking of Docker volume data.Impact
Facilitates the deployment of IRRd using Docker Compose, ensuring a consistent and isolated environment.
Enhances the documentation to provide clear, step-by-step instructions for Docker Compose deployment.
Testing
This update introduces a deployment example for IRRd along with the required infrastructure, simplifying and accelerating the service deployment process.