--- # One-off: recreate the shared docker network with a reserved address range. # # Why: lava was created without an ip_range, so any container can be given # Caddy's fixed IP (172.20.0.5) and Caddy then fails with "Address already # in use". Docker can't change a network's range in place, so every stack on # it is taken down, the network is recreated, and the stacks come back up. # Volumes (all data) are kept. Expect a few minutes of downtime for everything. # # Run: ansible-playbook migrate-lava-network.yml -i hosts.yml --vault-password-file vault_pass # Then: ansible-playbook site.yml -i hosts.yml --vault-password-file vault_pass # (gives gitea its fixed IP and fixes its firewall rule) # # The list of stacks is saved to /root/lava-migration-