libs/client-api
: API client for interfacing with AppFlowy-Cloud.libs/database
: Houses database schema and migration scripts.libs/database-entity
: Definitions for database entities.libs/gotrue
: Contains the GoTrue Authentication Server code.libs/gotrue-entity
: Entity definitions for the GoTrue Auth Server.libs/realtime
: Realtime server implementation.libs/collab-rt-entity
: Realtime server entity definitions.libs/infra
: Scripts and tools for infrastructure management.libs/app_error
: Custom error types specific to AppFlowy-Cloud.
src/api
: Endpoints and handlers for the AppFlowy-Cloud API.src/biz
: Core business logic of the application.src/middleware
: Middleware components for API processing.
configurations
: Contains essential configuration files for various services.migrations
: Scripts for managing and migrating the Postgres database.
After executing docker-compose up -d
, AppFlowy-Cloud is accessible at http://localhost
on ports 80 and 443 with the following routing:
/gotrue
: Redirects to the GoTrue Auth Server./api
: AppFlowy-Cloud's HTTP API endpoint./ws
: WebSocket endpoint for AppFlowy-Cloud./web
: User Admin Frontend for AppFlowy./pgadmin
: Interface for Postgres database management./minio
: User interface for Minio object storage./portainer
: Tool for container management.
AppFlowy leverages Docker for efficient deployment and scaling. Docker images are available at:
appflowy_cloud
: Docker Hubadmin_frontend
: Docker Hub
The Docker images are automatically built and updated through a GitHub Actions workflow:
- Tag Creation: A new tag in the GitHub repository indicates a new version or release.
- Automated Build Trigger: This tag initiates the Docker image building process via GitHub Actions.
- Docker Hub Updates: The
appflowy_cloud
andadmin_frontend
images are updated on Docker Hub with the latest build.