The Mach1 Docker Configuration repository contains the necessary Docker configuration files and scripts for setting up Docker containers tailored for the Mach1 Robot Project. These Docker containers facilitate the deployment of various components of the robot's software stack, ensuring portability and ease of use across different environments.
This repository includes the following components:
-
docker-compose-template.yml
: A template for a Docker Compose configuration file. This template includes placeholders for configuration values that can be customized to match your specific deployment requirements. -
docker-config.yml
: A YAML configuration file that stores the values for the placeholders in thedocker-compose-template.yml
. This file allows you to specify parameters such as container names, user names, IP addresses, and more. -
generate-docker-compose.py
: A Python script that reads thedocker-config.yml
file, replaces the placeholders in thedocker-compose-template.yml
with the provided values, and generates the final Docker Compose file (docker-compose.yml
) ready for use.
To create a Docker Compose file and set up the Docker containers for your Mach1 Robot Project:
-
Modify the values in the
docker-config.yml
file, located in theconfig
directory, to match your deployment requirements. -
Run the
generate-docker-compose.py
script, available in thescripts
directory. This script uses the values from thedocker-config.yml
file to replace placeholders in the*.template.yml
files located in theconfig
directory. -
The script generates new directories to facilitate the Docker setup, including:
docker_compose
: This directory contains Docker Compose files.volumes
: It is reserved for storing associated volumes and configurations.
-
Deploy the Docker container using the generated
docker-compose.yml
file with the commanddocker-compose up -d
. The Docker container will be configured as specified in thedocker-compose.yml
file.
This repository is released under the MIT License. For more details, refer to the LICENSE file.
This Docker configuration project is authored and maintained by me, Julian A Rendon. If you have questions, require support, or need further information about the repository, you can reach out to me via (julianrendon514@gmail.com).