Installation & Setup

Deploy Mimicry using Docker for a consistent, isolated, and scalable environment.

auto_fix_high
Recommended

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.

Get Started on DockerAZ.wiki rocket_launch
Trusted Platform 2,000+ Active Deployments
shelves

Docker Image

The official, production-ready image containing all dependencies.

rickicode/mimicry:latest
folder_shared

Volumes

Persistent storage for your database, media, and configurations.

2 Persistent Paths
lan

Networking

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.

terminal CLI Command
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 Data

Stores the SQLite database, site configurations, and your .env file. Do not delete.

/web/storage Media & Assets

Contains 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.

description docker-compose.yml
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.

Full Stack Compose
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:
      - mimicry
nginx.conf snippet
server {
    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.

Caddy Stack Compose
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:
Caddyfile
yourdomain.com {
    reverse_proxy mimicry:80
}

🔑 Licensing

Mimicry requires a valid license key to activate AI features and theme capabilities.

verified

License Required

Obtain your free or premium key at hijilabs.store.

View Licensing Guide

🚢 Deployment Checklist

check_circle
Verify Permissions

Ensure the directories mapped to volumes have proper read/write permissions for the Docker user.

swap_calls
Port Selection

If port 80 is occupied, change the first value in -p 80:80 to your preferred port (e.g., 8080:80).

dns
Domain Setup

Point your domain/subdomain to the server IP and configure a reverse proxy (Nginx/Traefik) for SSL.

bolt
Hardware

Mimicry is lightweight, but we recommend 2GB+ RAM for smooth AI image processing operations.