Strapi - Headless CMS
Everything you need to deploy Strapi with BlastDock
One command deployment
Production-ready security
Customizable settings
Ready to scale up
blastdock init
Initialize new project
blastdock deploy
Deploy the application
blastdock status
Check deployment status
blastdock logs
View application logs
Get Strapi up and running in minutes with our one-click installation.
First, install BlastDock using pip (recommended):
pip install blastdock
Then deploy Strapi with:
blastdock init strapi
Interactive mode:
blastdock init strapi -i
blastdock templates
List available templates
blastdock status project
Check deployment status
blastdock logs project
View application logs
blastdock stop project
Stop deployment
Customize your Strapi installation with these configuration options.
Web interface port
Admin email
Admin password
Database password
Complete Docker Compose configuration for Strapi deployment.
version: '3.8'
services:
postgres:
image: postgres:13
container_name: {{ project_name }}_postgres
restart: unless-stopped
environment:
0: POSTGRES_USER=strapi
1: POSTGRES_PASSWORD={{ db_password }}
2: POSTGRES_DB=strapi
volumes:
- /var/lib/postgresql/data
networks:
- strapi_network
strapi:
image: strapi/strapi:latest
container_name: {{ project_name }}_strapi
restart: unless-stopped
depends_on:
- postgres
ports:
- "1337"
environment:
0: DATABASE_CLIENT=postgres
1: DATABASE_NAME=strapi
2: DATABASE_HOST=postgres
3: DATABASE_PORT=5432
4: DATABASE_USERNAME=strapi
5: DATABASE_PASSWORD={{ db_password }}
6: ADMIN_JWT_SECRET={{ admin_password }}
7: STRAPI_ADMIN_EMAIL={{ admin_email }}
8: STRAPI_ADMIN_PASSWORD={{ admin_password }}
volumes:
- /srv/app
networks:
- strapi_network
volumes:
postgres_data:
driver: local
strapi_data:
driver: local
networks:
strapi_network:
driver: bridge