# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# 🚀 BUILT & MAINTAINED BY THE ALTSTACK
# 🌍 https://thealtstack.com
# 💡 Open-source deployment templates for modern self-hosting.
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━




services:
  zammad:
    image: zammad/zammad-docker-compose:zammad-6.3.1-23
    container_name: zammad
    restart: unless-stopped
    depends_on:
      - zammad-postgresql
      - zammad-elasticsearch
      - zammad-redis
    ports:
      - "8080:8080"

  zammad-elasticsearch:
    image: bitnami/elasticsearch:8.12.2
    container_name: zammad-elasticsearch
    restart: unless-stopped
    environment:
      - discovery.type=single-node

  zammad-postgresql:
    image: postgres:15-alpine
    container_name: zammad-postgresql
    restart: unless-stopped
    environment:
      - POSTGRES_USER=zammad
      - POSTGRES_PASSWORD=zammad

  zammad-redis:
    image: redis:7.2-alpine
    container_name: zammad-redis
    restart: unless-stopped

