Skip to content

A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.

TypeScript fluxerfluxerapp
1.1 KB
Raw Blame
services:
  edge:
    image: ${FLUXER_CADDY_IMAGE:-caddy:2.11-alpine}
    restart: unless-stopped
    logging:
      driver: json-file
      options:
        max-size: ${FLUXER_LOG_MAX_SIZE:-10m}
        max-file: "${FLUXER_LOG_MAX_FILE:-3}"
    ports:
      - "80:80"
      - "443:443"
      - "443:443/udp"
    environment:
      FLUXER_VOICE_EDGE_GLOBAL_OPTIONS: ${FLUXER_VOICE_EDGE_EMAIL:+email ${FLUXER_VOICE_EDGE_EMAIL:-}}
      FLUXER_VOICE_EDGE_SNI_OPTION: ${FLUXER_VOICE_EDGE_IP:+default_sni ${FLUXER_VOICE_EDGE_IP:-}}
    volumes:
      - ./Caddyfile.voice:/etc/caddy/Caddyfile:ro
      - ./sites.d:/etc/caddy/sites.d:ro
      - edge-data:/data
      - edge-config:/config
    networks:
      - voice
    healthcheck:
      test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1:2019/config/"]
      interval: 10s
      timeout: 5s
      retries: 10
      start_period: 30s
      start_interval: 1s

networks:
  voice:
    name: ${FLUXER_VOICE_NETWORK:-fluxer-voice}
    enable_ipv6: ${FLUXER_VOICE_NETWORK_IPV6:-false}

volumes:
  edge-data:
  edge-config: