Skip to content

Installation

The preferred method to install Indigo on your server is via Docker Compose. Stable builds of the product are delivered via ghcr.io.

Compose Template

The following compose.yml may be used as a template for new deployments:

compose.yml
services:
  db:
    image: mariadb:latest
    restart: unless-stopped
    volumes:
      - type: bind
        source: ./data/mariadb
        target: /var/lib/mysql
    environment:
      MARIADB_ROOT_PASSWORD: "correct-horse-battery-staple"
      MARIADB_DATABASE: "indigo"
    healthcheck:
      test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]

  indigo:
    image: ghcr.io/optionsircil/indigo:latest
    restart: unless-stopped
    ports:
      - "443:443"
    depends_on:
      db:
        condition: service_healthy
    volumes:
      - type: bind
        source: ./config
        target: /var/indigo
      - type: bind
        source: ./data/indigo
        target: /placeholder

Example File Structure

If you're using the default bind mounts, your file structure should look something like this:

  • 📁 indigo
    • 🐳 compose.yml
    • 📁 config
    • 📁 data
      • 📁 indigo
      • 📁 mariadb

Changes may be made as needed, such as if port remapping is required. When finished, proceed to Configuration.