Detailed guide for deploying and managing Prisme.ai locally or on-premise using Docker and docker-compose.
Docker provides an effective solution for deploying Prisme.ai in local or on-premise environments. This guide covers everything you need to quickly deploy and manage Prisme.ai using Docker Compose.
Ensure your system meets the following prerequisites:
*.pages.local.prisme.ai
) pointed to Docker host machine.Follow these steps to set up your local Docker environment for Prisme.ai:
Clone Repository
Clone the Prisme.ai repository from GitLab:
Configure Environment Variables
Edit the .env
file at the root of the project to configure your Docker environment:
Example .env
configuration:
Ensure DNS entries (studio.local.prisme.ai
, api.local.prisme.ai
) point to your Docker host IP.
Start Prisme.ai with Docker Compose
Launch Prisme.ai and its dependencies using Docker Compose:
This command will start all necessary Prisme.ai microservices and databases (MongoDB, Redis, Elasticsearch).
Verify Deployment
Check running containers:
Verify logs for issues:
Access Prisme.ai Studio
Visit the URL defined in your .env
file (e.g., http://studio.local.prisme.ai:3000
) to access the Prisme.ai Studio.
Docker Compose Useful Commands
Resolving DNS Issues
If DNS entries are not resolving:
/etc/hosts
file (Linux/Mac) or hosts
file (Windows).*.pages.local.prisme.ai
) is configured correctly.Resource Constraints
If encountering performance issues:
UPLOADS_MAX_SIZE
, database caches).Explore deploying Prisme.ai using Helm
Learn about ensuring high availability
Configure your Prisme.ai AI products
Learn about scaling operations efficiently
Detailed guide for deploying and managing Prisme.ai locally or on-premise using Docker and docker-compose.
Docker provides an effective solution for deploying Prisme.ai in local or on-premise environments. This guide covers everything you need to quickly deploy and manage Prisme.ai using Docker Compose.
Ensure your system meets the following prerequisites:
*.pages.local.prisme.ai
) pointed to Docker host machine.Follow these steps to set up your local Docker environment for Prisme.ai:
Clone Repository
Clone the Prisme.ai repository from GitLab:
Configure Environment Variables
Edit the .env
file at the root of the project to configure your Docker environment:
Example .env
configuration:
Ensure DNS entries (studio.local.prisme.ai
, api.local.prisme.ai
) point to your Docker host IP.
Start Prisme.ai with Docker Compose
Launch Prisme.ai and its dependencies using Docker Compose:
This command will start all necessary Prisme.ai microservices and databases (MongoDB, Redis, Elasticsearch).
Verify Deployment
Check running containers:
Verify logs for issues:
Access Prisme.ai Studio
Visit the URL defined in your .env
file (e.g., http://studio.local.prisme.ai:3000
) to access the Prisme.ai Studio.
Docker Compose Useful Commands
Resolving DNS Issues
If DNS entries are not resolving:
/etc/hosts
file (Linux/Mac) or hosts
file (Windows).*.pages.local.prisme.ai
) is configured correctly.Resource Constraints
If encountering performance issues:
UPLOADS_MAX_SIZE
, database caches).Explore deploying Prisme.ai using Helm
Learn about ensuring high availability
Configure your Prisme.ai AI products
Learn about scaling operations efficiently