Update ansible readme
This commit is contained in:
+7
-6
@@ -9,25 +9,26 @@ To drop into a shell with `ansible-*` commands, run:
|
|||||||
nix develop
|
nix develop
|
||||||
```
|
```
|
||||||
|
|
||||||
## `misc.yaml`
|
## `nanna-setup.yaml`
|
||||||
|
|
||||||
Server for miscellaneous stuff, e.g. the website.
|
Small VPS for self-hosted services.
|
||||||
Expects to have a user `paul who can `sudo`.
|
Expects to have a user `paul` who can `sudo`.
|
||||||
Sets up:
|
Sets up:
|
||||||
|
|
||||||
- Some basic packages
|
- Some basic packages
|
||||||
- Docker and `docker-compose`
|
- Docker and `docker-compose`
|
||||||
- Nix multi-user installation
|
- Nix multi-user installation
|
||||||
|
|
||||||
## `misc-docker.yaml`
|
## `nanna-docker.yaml`
|
||||||
|
|
||||||
Deploys Docker configurations from `../docker`:
|
Deploys Docker Compose configurations from `../docker`:
|
||||||
|
|
||||||
- Sets up the docker network `caddy-network` for services that are reverse proxied by caddy
|
- Sets up the docker network `caddy-network` for services that are reverse proxied by caddy
|
||||||
- Copies configuration into `/etc/pbri/docker`
|
- Copies configuration into `/etc/pbri/docker`
|
||||||
- Creates folder `/var/lib/pbri/docker` for storing application files
|
- Creates folder `/var/lib/pbri/docker` for storing application files
|
||||||
- Creates users with `42xxx` UIDs for running containers
|
- Creates users with `42xxx` UIDs for running containers
|
||||||
|
- `docker compose {up,down}`s all enabled/disabled services
|
||||||
|
|
||||||
## `misc-sites.yaml`
|
## `nanna-sites.yaml`
|
||||||
|
|
||||||
Checks out static sites into `/home/paul/Sites` which is mounted into `/srv` in the Caddy container.
|
Checks out static sites into `/home/paul/Sites` which is mounted into `/srv` in the Caddy container.
|
||||||
|
|||||||
Reference in New Issue
Block a user