install docker compose with automatic updates to everything, set up ansible account for management
Go to file
2024-01-02 14:58:55 +00:00
ansible-rocky.sh Update ansible-rocky.sh 2024-01-02 14:18:48 +00:00
ansible.sh Update ansible.sh 2024-01-02 14:15:13 +00:00
docker-rocky.sh Add docker-rocky.sh 2024-01-02 14:58:39 +00:00
docker.sh Update docker.sh 2024-01-02 14:19:56 +00:00
README.md Update README.md 2024-01-02 14:58:55 +00:00

VM Setup

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:

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/docker.sh | sh

Rocky:

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-rocky.sh | sh