docs: teardown commands
This commit is contained in:
1 parent
06e085fb6d
commit
a86a9e6681
1 file changed
+13
@@ -88,6 +88,19 @@ Create an account:
|
||||
pdsadmin account create
|
||||
```
|
||||
|
||||
## Teardown
|
||||
|
||||
Run on the server to remove everything, use with caution:
|
||||
|
||||
```bash
|
||||
sudo docker compose -f /pds/compose.yaml down
|
||||
sudo rm -rf /pds
|
||||
sudo systemctl stop pds 2>/dev/null
|
||||
sudo systemctl disable pds 2>/dev/null
|
||||
sudo rm -f /etc/systemd/system/pds.service /usr/local/bin/pdsadmin
|
||||
sudo systemctl daemon-reload
|
||||
```
|
||||
|
||||
## Notes
|
||||
|
||||
- `pds.env` is Ansible-managed. Secrets (JWT, admin password, PLC rotation key) are generated by the installer on first run, then read and preserved by Ansible on subsequent runs. To change config like S3 or SMTP, update `vars/main.yml` and re-run the playbook.
|
||||
|
||||
Reference in new issue
Block a user