services:
  redis:
    image: redis:7-alpine
    restart: unless-stopped
    network_mode: "host"
    command: redis-server --bind 127.0.0.1

  livekit:
    image: livekit/livekit-server:latest
    command: --config /etc/livekit.yaml
    restart: unless-stopped
    network_mode: "host"
    volumes:
      - ./livekit.yaml:/etc/livekit.yaml
    depends_on:
      - redis
