Docker deployment is the most recommended deployment method for HiveChat, the steps are as follows:
preliminary
- Install Docker Engine (version 20.10+) and Docker Compose plugin
- Reserve more than 3GB of disk space
- Ensure that the server has port 3000 open
Deployment process
- Cloning Warehouse:
git clone https://github.com/HiveNexus/HiveChat.git - modifications
docker-compose.ymlDocumentation, focused configuration:- DATABASE_URL (database connection string)
- AUTH_SECRET (it is recommended to pass the
openssl rand -base64 32(generated) - ADMIN_CODE (custom 6+ digit administrator initialization password)
- Build the mirror image:
docker compose build - Start the service:
docker compose up -d
Subsequent configurations
first visithttp://服务器IP:3000/setupComplete the administrator account initialization. Note that it is highly recommended for production environments:
- Configuring HTTPS Certificates
- Change the default database password
- Setting up regular data backups
This answer comes from the articleHiveChat: the AI chatbot for rapid deployment within companiesThe































