# Deploy Affine with Easypanel

URL: /templates/affinepro

Affine is a modern, self-hosted platform designed for collaborative content creation and project management. It offers an intuitive interface, seamless real-time collaboration, and powerful tools for organizing tasks, notes, and ideas. With Affine, you can centralize your workflows and enhance productivity. The platform features a comprehensive workspace that combines note-taking, task management, and project planning in one unified environment.

## Installation notes

The migration service runs automatically during deployment to set up the database schema. It can be safely removed once the process is complete.

## Benefits

### Streamlined Collaboration

Affine offers real-time collaborative tools, enabling teams to work together seamlessly on projects and documents.

### Self-Hosted Control

Maintain complete control over your data with a secure, self-hosted solution for enhanced privacy and flexibility.

### Comprehensive Workspace

Centralize notes, tasks, and project plans in one unified workspace for better organization and productivity.

### Vector Search Capabilities

Leverage pgvector integration for advanced search and AI-powered features to enhance content discovery and organization.

## Features

### Real-Time Collaboration

Work together with your team in real time, ensuring everyone stays aligned and productive with live editing capabilities.

### Customizable Workflows

Adapt the platform to your specific needs with flexible task and note management options and customizable templates.

### Advanced Database Features

Built on PostgreSQL with pgvector support for enhanced performance and AI-powered search capabilities.

### Migration Management

Automated database migration service ensures smooth updates and schema changes without manual intervention.

### Secure and Scalable

Benefit from a secure and scalable architecture, designed to handle teams of any size with robust data protection.

### Modern Web Interface

Clean, responsive interface that works seamlessly across desktop and mobile devices for optimal user experience.

## Configuration

- `appServiceName` (App Service Name, required): affine

- `appServiceImage` (App Service Image, required): ghcr.io/toeverything/affine:0.26.6

- `mailerHost` (Mailer Host (Optional)): Set during installation — SMTP host for email notifications. Leave empty to disable.

- `mailerHostPort` (Mailer Port (Optional)): 587 — SMTP port (e.g., 587, 465). Used when Mailer Host is set.

- `mailerHostUser` (Mailer User (Optional)): Set during installation — SMTP username. Leave empty for open relay.

- `mailerPassword` (Mailer Password (Optional)): Set during installation — SMTP password.

- `mailerSender` (Mailer Sender (Optional)): Set during installation — Email address to send from (e.g., no-reply@example.com)

## Services

- affine: app (ghcr.io/toeverything/affine:0.26.6)

- affine-migration: app (ghcr.io/toeverything/affine:0.26.6)

- affine-db: postgres

- affine-redis: redis

## Resources

- [Website](https://affine.pro)

- [Documentation](https://affine.pro/docs)

- [Github](https://github.com/toeverything/Affine)

- [Template source](https://github.com/easypanel-io/templates/tree/main/templates/affinepro)