ignition.ninja
← All pages
Compose stackLevel 2 · Basic

Gateway and database compose stack

Placeholder compose stack. Every password below is a made-up example, so change them before you use anything like it.

yamlDownload
services:
  gateway:
    image: inductiveautomation/ignition:latest
    ports:
      - "8088:8088"
    environment:
      ACCEPT_IGNITION_EULA: "Y"
      GATEWAY_ADMIN_USERNAME: admin
      GATEWAY_ADMIN_PASSWORD: change-me-example
    volumes:
      - gateway_data:/usr/local/bin/ignition/data
    depends_on:
      - db
  db:
    image: postgres:16
    environment:
      POSTGRES_USER: example
      POSTGRES_PASSWORD: change-me-example
      POSTGRES_DB: history
    volumes:
      - db_data:/var/lib/postgresql/data
volumes:
  gateway_data:
  db_data:

Copy the block, or use Download to get it as docker-compose.yml. Then run docker compose up -d in the same folder.