# Termix - Web terminal
# Port: 3000
# Web-based terminal emulator
version: "3.8"

services:
  termix:
    image: ghcr.io/lukegus/termix:latest
    container_name: Termix
    healthcheck:
      test: ["CMD-SHELL", "bash -c '</dev/tcp/127.0.0.1/5674' || exit 1"]
      interval: 10s
      timeout: 5s
      retries: 3
      start_period: 90s
    ports:
      - "5674:5674"
    volumes:
      - /volume2/metadata/docker/termix:/app/data:rw
    environment:
      PORT: 5674
    restart: on-failure:5
