Introduction
Introduction Statistics Contact Development Disclaimer Help
Updating README to reflect recent move. - infra - Terraform IoC for my remote (…
Log
Files
Refs
README
---
commit 5cf16ff07647c99d88cbd5f8544ddea2f1a2977f
parent 52a47a308ef436aed7aec93d32bdf2e2d7aaa320
Author: Jay Scott <[email protected]>
Date: Thu, 24 Aug 2023 11:35:20 +0100
Updating README to reflect recent move.
Diffstat:
M README | 21 ++++++++++-----------
1 file changed, 10 insertions(+), 11 deletions(-)
---
diff --git a/README b/README
@@ -7,7 +7,7 @@ Bootstrap Hetzner Cloud servers.
Provision X servers with desired configuration
Create custom firewall rules
Add reverse dns entry
- Userdata bootscript adding an Ansible user account
+ Userdata bootscript add a user and docker.
If you actually want to use this for yourself then you might need to do
the following depending on your requirements.
@@ -17,26 +17,25 @@ the following depending on your requirements.
The user_data script is a standard cloud-init yaml config that creates
-an Ansible user for further configuration the instances.
+an user for deploying docker containers.
terraform plan
terraform apply
-|> Ansible
+|> Containers
-Playbook to install the following:
+Docker containers for the following services I run:
gopher
- git and git daemon
- stagit-gopher
- efingerd
+ fingered
-Apply all:
- ansible-playbook -i inventory.yml main.yml
+Create a remote context, one time thing:
-Run tags
+ docker context create remote --docker "host=ssh://[email protected]"
- ansible-playbook -i inventory.yml main.yml --tags <git/gopher/common>
+Build and run the containers:
+
+ docker-compose --context remote up --build -d
You are viewing proxied material from jay.scot. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.