diff --git a/README.md b/README.md index f971e34..5da6a6c 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,11 @@ To run this ansible playbook, you need to: - Have a server / VPS where lemmy will run. - Configure a DNS `A` Record to point at your server's IP address. -- Make sure you can ssh to it: `ssh my_user@domain.tld` +- Make sure you can ssh to it: `ssh @` - Install [Ansible](https://www.ansible.com/) on your local machine. -## Deploy steps +## Install Clone lemmy-docker-ansible-deploy: @@ -44,3 +44,15 @@ Run the playbook: If the command above fails, you may need to comment out this line In the ansible.cfg file: `interpreter_python=/usr/bin/python3` + +## Migrating your existing install to use this deploy + +- Back up your existing docker folder. +- Run `docker-compose stop` to stop lemmy. +- Move your docker folders on the server to `/`. +- Copy your postgres password to `passwords/@/postgres`. +- Follow the install guide above, making sure your `config.hjson` is the same as your backup. + +## Uninstall + +`ansible-playbook -i inventory/hosts uninstall.yml --become`