How it helps your business
Key Benefits
- Performance First: Built with advanced caching and optimized Symfony components.
- Extreme Flexibility: A modular core that is easy for developers to extend.
- Frontend Freedom: Total control over the user experience with power templating.
- Enterprise Patterns: Professional-grade code following the best industry standards.
- Strong Community: Supported by a dedicated ecosystem of European e-commerce experts.
Production Architecture Overview
- PHP-FPM: Running the Thelia application core (PHP 7.4+ / 8.x).
- MySQL / MariaDB: The primary relational database (v5.6+).
- Redis: Used for caching and session management in high-traffic setups.
- Nginx: The standard web server and reverse proxy.
- Storage: Local or cloud storage for product media and uploads.
How we deploy this for you
Security Hardened
Firewalls, SSL, and hardened kernels out of the box.
Performance Tuned
Optimized for speed with cache and DB fine-tuning.
Automated Backups
Daily off-site backups so you never lose your data.
Private Cloud
You own the server and the data. No middleman.
Implementation Blueprint
Prerequisites
sudo apt update && sudo apt upgrade -y
sudo apt install docker.io docker-compose -y
sudo systemctl enable docker
sudo systemctl start dockerDocker Compose Production Setup
version: '3'
services:
thelia:
image: thelia/thelia:latest
ports:
- "80:80"
environment:
- THELIA_ENV=prod
- THELIA_DATABASE_URL=mysql://root:password@db/thelia
depends_on:
- db
volumes:
- thelia_data:/var/www/html/web/uploads
restart: always
db:
image: mysql:5.7
environment:
- MYSQL_ROOT_PASSWORD=password
- MYSQL_DATABASE=thelia
volumes:
- db_data:/var/lib/mysql
restart: always
volumes:
thelia_data:
db_data:Kubernetes Production Deployment (Recommended)
# Deploy app and db as separate components
kubectl create deployment thelia-app --image=thelia/thelia:latest
kubectl expose deployment thelia-app --port=80- Horizontal Scaling: Scale your PHP backend pods to handle traffic peaks effortlessly.
- Standardized Deployment: Use rolling updates for safe releases of new store features.
- Persistent Data: Use PersistentVolumeClaims to manage your media and uploads reliably.
Scaling Strategy
- Advanced Caching: Leverage Thelia's native cache management along with Redis for high-speed response times.
- Database Tuning: Regularly optimize your MySQL instance with proper indexing and query monitoring.
- Media Optimization: Use a CDN to serve all product images and frontend assets globally.
- Load Balancing: Distribute traffic across multiple web pods to ensure high availability during sales.
Backup & Safety
- Database Dumps: Automate daily MySQL backups and store them offsite securely.
- Storage Snapshots: Regularly snapshot the persistent volumes containing your
/uploadsdirectory. - Security Audit: Regularly update your Thelia installation and modules to stay protected.
- HTTPS Enforcement: Always use SSL/TLS to protect customer data and improve site trust.
Includes Security & performance standards
Best place to host Thelia
We recommend Hostinger for its reliability and low cost. It's the perfect home for your new apps, featuring easy setup and 24/7 support.
Get Started on HostingerCompare Similar Tools
Kubernetes
Kubernetes is a production-grade, open-source platform for automating deployment, scaling, and operations of application containers.
Supabase
Supabase is the leading open-source alternative to Firebase. It provides a full backend-as-a-service (BaaS) powered by PostgreSQL, including authentication, real-time subscriptions, and storage.