services:
  relay:
    build:
      context: ./relay
    container_name: relay
    restart: always
    ports:
      - "7078:7078"
    env_file:
      - .env
    volumes:
      - ./relay/sessions:/app/sessions
    networks:
      - lyra-net

  # persona-sidecar:
    # build:
      # context: ./persona-sidecar
    # container_name: persona-sidecar
    # env_file:
      # - .env
    # ports:
      # - "7080:7080"
    # volumes:
      # - ./persona-sidecar/personas.json:/app/personas.json:rw
    # restart: unless-stopped
    # networks:
      # - lyra-net

  lyra-ui:
    image: nginx:alpine
    container_name: lyra-ui
    restart: unless-stopped
    ports:
      - "8081:80"
    volumes:
      - ./ui:/usr/share/nginx/html:ro
    networks:
      - lyra-net

networks:
  lyra-net:
    external: true
