Deployment Guide
Relevant source files
The following files were used as context for generating this wiki page:
The Ever Teams platform is designed for flexible deployment, supporting various environments from local development with Docker to scalable cloud hosting on multiple Platform-as-a-Service (PaaS) providers. This guide outlines the different methods to deploy and run the Ever Teams web application.
A critical dependency for the Ever Teams frontend is the Ever Gauzy API. By default, the application connects to the production API at https://api.ever.team. For self-hosted environments, this can be configured to point to a local or private instance of the Gauzy API server.
Sources: README.md:60-62, docker-compose.yml:82-83
Docker-Based Deployment
Docker provides a consistent and isolated environment for running Ever Teams. The repository includes several Docker Compose files for different scenarios, as well as instructions for using standalone Docker images.
Sources: README.md:46-81
Docker Compose
Docker Compose is the recommended method for running the full application stack locally. The project provides multiple configuration files tailored for production, demo, and local build scenarios.
The following diagram illustrates the service architecture defined in the primary docker-compose.yml file.
This diagram shows the relationship between the webapp frontend, the api backend (from Ever Gauzy), and various backing services like databases and storage.
Sources: docker-compose.yml:4-100
Compose Configurations
The repository offers three main Docker Compose files:
| File | Purpose | Image Source | Command |
|---|---|---|---|
docker-compose.yml | Production-like configuration. | Pre-built from ghcr.io. | docker-compose up |
docker-compose.demo.yml | Basic configuration for demo and exploration. | Pre-built from ghcr.io. | docker-compose -f docker-compose.demo.yml up |
docker-compose.build.yml | Builds the entire platform from local source code. | Built locally from Dockerfile. | docker-compose -f docker-compose.build.yml up |
Sources: README.md:49-57, docker-compose.yml, docker-compose.demo.yml, docker-compose.build.yml
Key Services
webapp: The Ever Teams Next.js frontend. It connects to the Gauzy API server specified byGAUZY_API_SERVER_URL. By default, it runs on port3030.api: The Ever Gauzy backend API. This service depends on several infrastructure components likedb,redis, andminio.
Sources: docker-compose.yml:80-169, docker-compose.yml:4-78
Standalone Docker Image
You can run the web application using a pre-built public Docker image or by building one from the source code.
Run with Public Image:
The official image is available on GitHub Container Registry and Docker Hub.
- Pull the image:
docker pull everco/ever-teams-webapp - Run the container:
docker run -p 127.0.0.1:3030:3030/tcp everco/ever-teams-webapp
Build and Run Locally:
- Build the image from the repository root:
docker build . -t ever-teams-webapp -f Dockerfile - Run the locally built image:
docker run -p 127.0.0.1:3030:3030/tcp ever-teams-webapp
Sources: README.md:66-78
Platform-as-a-Service (PaaS) Deployment
The repository supports one-click deployments to several popular PaaS providers. These options simplify the process of getting a public-facing instance of Ever Teams running.
Sources: README.md:104-131
Vercel
Deployment to Vercel is configured via the vercel.json file and the "Deploy with Vercel" button. The configuration specifies the build commands and output directory for the Next.js application located in apps/web.
Sources: README.md:107-108, apps/web/README.md:28-32
Render
Render deployment is defined in render.yaml. It configures a web service named ever-teams-web.
This diagram shows the deployment flow on Render initiated by the deploy button.
Service Configuration (render.yaml):
- Type:
web - Runtime:
node - Branch:
develop - Root Directory:
./apps/web - Build Command:
yarn; yarn build - Start Command:
yarn start
Sources: README.md:112-113, render.yaml:1-10
Northflank
Deployment is managed via a template file, northflank-template.json. This template defines a workflow to deploy a service named ever-teams-web.
- Image Source:
ghcr.io/ever-co/ever-teams-webapp:latest - Internal Port:
3030 - Billing Plan:
nf-compute-10
Sources: README.md:129-130, northflank-template.json:18-43
Other PaaS Providers
The project also provides deployment buttons and/or documentation for:
- Railway: Configuration in
railway.json. - Fly.io: See the project Wiki.
- Heroku: Configuration in
heroku.yml. - Koyeb: Deploys the
ghcr.io/ever-co/ever-teams-webapp:latestimage. - Netlify: Standard Netlify deployment from Git.
- DigitalOcean: See the project Wiki.
Sources: README.md:104-131
Manual Build and Local Development
For development or custom deployments, you can build and run the application manually.
- Clone the repository.
- Install dependencies:
yarn install - Run the development server:
yarn start:web:dev - Alternatively, build for production and start:
yarn build:web && yarn start:web - The application will be available at
http://localhost:3030.
Sources: README.md:83-88, package.json:28-36, apps/web/README.md:7-12
Backend Configuration
The Ever Teams frontend requires a connection to the Ever Gauzy API. By default, it uses the public production endpoint. To use a self-hosted backend, you must set the following environment variables.
| Variable | Service | Default Value | Description |
|---|---|---|---|
GAUZY_API_SERVER_URL | webapp (server-side) | https://api.ever.team | The URL of the Gauzy API server for server-side rendering. |
NEXT_PUBLIC_GAUZY_API_SERVER_URL | webapp (client-side) | https://api.ever.team | The URL of the Gauzy API server for client-side requests. |
API_BASE_URL | api | http://localhost:3000 | The base URL for the API service itself. |
To run a self-hosted backend:
- Set up and run the Ever Gauzy server, available at `https://github.com/ever-co/ever-gauzy%60.
- Create a
.envfile in the Ever Teams project (e.g., from.env.sample). - Set
GAUZY_API_SERVER_URLandNEXT_PUBLIC_GAUZY_API_SERVER_URLto the address of your running Gauzy API instance (e.g.,http://localhost:3000).
Sources: README.md:90-98, docker-compose.yml:82-83, render.yaml:13-16
Summary
Ever Teams offers a wide array of deployment options, catering to different needs from quick demos to full-scale production environments. Developers can use Docker for local consistency, leverage one-click PaaS deployments for ease of use, or perform manual builds for maximum control. The key to any deployment is ensuring the frontend can communicate with an instance of the Ever Gauzy API, whether it's the public service or a self-hosted one.