Deploy AstrBot on Pethost in one click
An AI chatbot and agent for Telegram, Discord, Slack, QQ, WeChat and more, with plugins and a web dashboard
What happens
- You sign in to Pethost or make an account, with a passkey, GitHub or Google.
- No machine yet? You pick a plan, and we prepare one for you. The link waits in your browser until it is ready.
- New project opens at the app. You fill in what it asks for and click Create project: Admin password.
- In a minute or two the app is live at its own address with HTTPS. Its secrets are made for it at random, and its data is in the nightly backup.
- It is a project like any other: its compose.yaml, its .env, its logs and a terminal are in the panel, and your agent can change it, roll it back or restore it.
First steps
Sign in to the dashboard as astrbot with the admin password you gave: it needs an upper-case letter, a lower-case letter and a digit. AstrBot asks for a new password at the first sign-in. Then add a model provider’s key and connect a messaging platform under Platforms.
What it runs
The template is this compose.yaml and the variables it writes into the project’s .env. Pethost runs the file as it is written.
services:
astrbot:
image: soulter/astrbot:v4.29.0
restart: unless-stopped
environment:
TZ: UTC
# The dashboard's first password, instead of a random one printed in the log. AstrBot asks
# for a new one at the first sign-in, and refuses to start on one without an upper-case
# letter, a lower-case letter and a digit.
ASTRBOT_DASHBOARD_INITIAL_PASSWORD: ${ADMIN_PASSWORD}
volumes:
- data:/AstrBot/data
volumes:
data: