docs: clarify docker autostart setup

This commit is contained in:
2026-06-08 07:09:01 +00:00
parent fd79ade304
commit eca1a386d0
+25
View File
@@ -69,6 +69,31 @@ Check the container logs if something fails:
docker compose logs -f docker compose logs -f
``` ```
### Auto-start on reboot
The compose file already includes:
```yaml
restart: unless-stopped
```
That means the bot container will come back automatically after a reboot **as long as the Docker service itself starts at boot**.
On the server, enable Docker once:
```bash
sudo systemctl enable docker
sudo systemctl restart docker
```
You can verify both pieces with:
```bash
cd /DATA/AppData/discord-meeting-bot
docker compose ps
sudo systemctl is-enabled docker
```
## Notes ## Notes
- The bot only responds to commands in the configured output channel, except `/set_output`. - The bot only responds to commands in the configured output channel, except `/set_output`.