From 89421f69db07bbb428ef40a128f2dce05d228547 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Fernandes?= Date: Sun, 1 Dec 2024 18:00:30 +0000 Subject: [PATCH] controlling docker context. start process to remove portainer and start using only vscode and ansible --- README.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5d4482d..188c936 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,9 @@ Welcome to homesrv01.dev.lan git page. This repository serves to document and maintain the server where the home assistant runs. -The idea was to create a server with docker where it would be possible to isolate all servers, services and communications related to home automation at network level. +The goal was to create a server with docker where it would be possible to isolate, services and communications related to home automation at network level. -The server itself is on its own vlan (Vlan: homesrv) but requires communication with the Vlans: +The server itself is on its own vlan (Vlan: homesrv) but requires communication with the others Vlans: - IOT @@ -27,6 +27,7 @@ The server itself is on its own vlan (Vlan: homesrv) but requires communication - [Proxmox - lxc container](#proxmox---lxc-container) - [Operating System](#operating-system) - [Development, Maintenance and Deployment](#development-maintenance-and-deployment) + - [Docker context](#docker-context) - [Ansible roles](#ansible-roles) - [myInfra.dev.homesrv01.core](#myinfradevhomesrv01core) - [myInfra.dev.homesrv01](#myinfradevhomesrv01) @@ -46,7 +47,7 @@ Deployed and maintained by ansible role [myInfra.dev.homesrv1](#ansible-roles). Using portainer stack (stack name: nginx) connected to this repo. [Docker Compose](./services/nginx/docker-compose.yaml) -All configuration is set during docker build. +All sites configurations set during docker build. ### code-server @@ -257,6 +258,13 @@ Using gitea action for continuous deploys, visual studio code ([code workspace]( Ansible scripts can be used locally, remotely or by gitea actions. +### Docker context + + ```bash + # create context to homesrv01 docker on development devices + docker context create homesrv01 --docker host=ssh://admin@homesrv01.dev.lan +``` + ## Ansible roles ### myInfra.dev.homesrv01.core