Update README.md

This commit is contained in:
Felix Schulze 2024-01-02 14:30:03 +00:00
parent ea2c78d6f0
commit 9206a72efa

View File

@ -1,5 +1,17 @@
# install-docker # VM Setup
install docker compose with automatic updates to everything Fist time VM/Container setup.
- Prepare for ansible management.
- Clear `ansible` user and group
- Add `ansible` user and group with encrypted password
- Make `ansible` sudo user
- Add Ansible's ssh pubkey for authentication
- Adjust permissions
- Install docker compose
- Add docker update script to weekly cron
- Add docker compose file
- Install docker compose
- Start `autoheal` container
Debian: Debian:
```sh ```sh
@ -7,3 +19,9 @@ apt install -y curl
curl -s https://git.schulze.network/schulze/vm-setup/raw/branch/main/ansible.sh | sh curl -s https://git.schulze.network/schulze/vm-setup/raw/branch/main/ansible.sh | sh
curl -s https://git.schulze.network/schulze/vm-setup/raw/branch/main/docker.sh | sh curl -s https://git.schulze.network/schulze/vm-setup/raw/branch/main/docker.sh | sh
``` ```
Rocky:
```sh
curl -s https://git.schulze.network/schulze/vm-setup/raw/branch/main/ansible-rocky.sh | sh
curl -s https://git.schulze.network/schulze/vm-setup/raw/branch/main/docker.sh | sh
```