controlling docker context. start process to remove portainer and start using only vscode and ansible

This commit is contained in:
2024-12-01 18:00:30 +00:00
parent f916a894e7
commit 89421f69db

View File

@@ -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