Installation & Setup
Deploy Mimicry using Docker for a consistent, isolated, and scalable environment.
Automated Production Setup
Skip the manual configuration. Use DockerAZ Wiki to deploy a hardened, production-ready server environment with automated SSL and security best practices in seconds.
Docker Image
The official, production-ready image containing all dependencies.
rickicode/mimicry:latestVolumes
Persistent storage for your database, media, and configurations.
2 Persistent PathsNetworking
Standard HTTP interface exposed on your host machine.
Port 80 (Default)🐳 One-Line Deployment
Run this command to start Mimicry immediately. It will pull the latest image and mount local directories for data persistence.
docker run -d -p 80:80 -v $(pwd)/data:/web/data -v $(pwd)/storage:/web/storage rickicode/mimicry:latest📁 Volume Persistence
Persistence is critical. Mounting volumes ensures that your AI models, articles, and settings survive container restarts or image updates.
/web/data Core DataStores the SQLite database, site configurations, and your .env file. Do not delete.
/web/storage Media & AssetsContains generated images from AI campaigns, theme uploads, and cached templates.
📦 Docker Compose (Recommended)
For production environments, using Docker Compose is highly recommended for easier management and updates.
services:
mimicry:
image: rickicode/mimicry:latest
container_name: mimicry-app
ports:
- "80:80"
volumes:
- "./data:/web/data"
- "./storage:/web/storage"
restart: unless-stopped🔒 Production Stack (Nginx Proxy)
For professional deployments where you need SSL (HTTPS) and better traffic management, use Nginx as a reverse proxy alongside Mimicry.
services:
mimicry:
image: rickicode/mimicry:latest
container_name: mimicry-app
restart: unless-stopped
volumes:
- "./data:/web/data"
- "./storage:/web/storage"
nginx:
image: nginx:alpine
container_name: mimicry-proxy
ports:
- "80:80"
- "443:443"
volumes:
- "./nginx.conf:/etc/nginx/conf.d/default.conf"
depends_on:
- mimicryserver {
listen 80;
server_name yourdomain.com;
location / {
proxy_pass http://mimicry:80;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}info Why use Nginx?
- • SSL Termination: Easily handle Let's Encrypt certificates.
- • Load Balancing: Scale multiple Mimicry containers if needed.
- • Security: Hide internal application ports from the public internet.
⚡ Production Stack (Caddy Proxy)
For those who prefer simplicity, Caddy is a modern web server that provides automatic HTTPS by default.
services:
mimicry:
image: rickicode/mimicry:latest
container_name: mimicry-app
restart: unless-stopped
volumes:
- "./data:/web/data"
- "./storage:/web/storage"
caddy:
image: caddy:latest
container_name: mimicry-caddy
ports:
- "80:80"
- "443:443"
volumes:
- "./Caddyfile:/etc/caddy/Caddyfile"
- "caddy_data:/data"
- "caddy_config:/config"
depends_on:
- mimicry
volumes:
caddy_data:
caddy_config:yourdomain.com {
reverse_proxy mimicry:80
}🔑 Licensing
Mimicry requires a valid license key to activate AI features and theme capabilities.
License Required
Obtain your free or premium key at hijilabs.store.
🚢 Deployment Checklist
Verify Permissions
Ensure the directories mapped to volumes have proper read/write permissions for the Docker user.
Port Selection
If port 80 is occupied, change the first value in -p 80:80 to your preferred port (e.g., 8080:80).
Domain Setup
Point your domain/subdomain to the server IP and configure a reverse proxy (Nginx/Traefik) for SSL.
Hardware
Mimicry is lightweight, but we recommend 2GB+ RAM for smooth AI image processing operations.