docs: updated readme with docker and ansible
This commit is contained in:
12
README.md
12
README.md
@@ -4,6 +4,10 @@ This repository contains Terraform configurations for provisioning infrastructur
|
|||||||
|
|
||||||
All sensitive information (e.g. SSH key files, passwords) and custom values are handled using Terraform variables stored in a separate file.
|
All sensitive information (e.g. SSH key files, passwords) and custom values are handled using Terraform variables stored in a separate file.
|
||||||
|
|
||||||
|
## Docker Image Build and Deployment
|
||||||
|
|
||||||
|
- A "Hello World" Docker image is built using a Gitea Actions workflow.
|
||||||
|
- The image is published to the Gitea package registry.
|
||||||
|
|
||||||
## Provioning with Terraform
|
## Provioning with Terraform
|
||||||
|
|
||||||
@@ -89,4 +93,10 @@ graph TD
|
|||||||
- no password prompt.
|
- no password prompt.
|
||||||
- VM private IP addresses are stored in the `vm_info.txt` file.
|
- VM private IP addresses are stored in the `vm_info.txt` file.
|
||||||
|
|
||||||
## VM Configuration with Ansible
|
## VM Configuration with Ansible
|
||||||
|
|
||||||
|
Ansible is used to configure the provisioned VMs:
|
||||||
|
|
||||||
|
- Docker is installed using a custom-made Ansible role.
|
||||||
|
- The previously built Docker image is pulled from the Gitea registry.
|
||||||
|
- The container is then started on the VMs.
|
||||||
|
Reference in New Issue
Block a user