Step-by-step instructions to launch Apiflow in your stack.
Make sure the basics are in place before you begin.
We recommend Docker Compose for the fastest rollout.
Detailed configuration guide to ensure all services run properly.
| Variable Name | Description | Default Value |
|---|---|---|
| MONGO_ROOT_USERNAME | MongoDB root username | admin |
| MONGO_ROOT_PASSWORD | MongoDB root password | Must be changed |
| MONGO_DATABASE | MongoDB database name | apiflow |
| Variable Name | Description | Default Value |
|---|---|---|
| DEEPSEEK_API_KEY | DeepSeek AI API key | - |
| DEEPSEEK_BASE_URL | AI service endpoint URL | https://api.deepseek.com/v1/chat/completions |
| DEEPSEEK_MODEL | AI model name to use | deepseek-chat |
| Variable Name | Description | Default Value |
|---|---|---|
| EMAIL_REGISTER_ENABLE | Enable email registration feature | false |
| ALI_ACCESS_KEY_ID | Alibaba Cloud AccessKey ID | - |
| ALI_ACCESS_KEY_SECRET | Alibaba Cloud AccessKey Secret | - |
| ALI_ACCOUNT_NAME | Sender email address | - |
Essential security hardening measures for production environments.
Regular backups to prevent data loss.
Detect and resolve issues promptly.
Keep the platform stable with these routines.
Check these tips first when something goes wrong.
Check docker logs for error messages, verify ports 80/443 are not occupied, confirm .env file is configured correctly, ensure Docker version >= 24.
Check firewall rules (open ports 80/443), verify nginx container is running, check DNS resolution for domain, review nginx logs for proxy issues.
Confirm MongoDB container passes health check, verify MONGO_ROOT_USERNAME and MONGO_ROOT_PASSWORD configuration, check server logs for connection errors.
Check if server and website containers are running, review nginx error logs, confirm inter-service network connectivity, try restarting related containers.
Check if web container is running, clear browser cache and retry, review nginx access logs for request paths, verify file permissions and nginx configuration.