Deploying Fluxer - An Open Source Instant Messaging and VoIP Platform
说明与用途
Fluxer 已成功部署并运行,提供安全的消息、语音和视频通道,使用 HTTPS 访问。
问题
Deploy a secure, self‑hosted Fluxer instance with messaging, voice, and video capabilities on a Linux server.
结果
Fluxer is deployed and operational, providing secure messaging, voice, and video channels over HTTPS.
工作流
- Create a working directory and download Docker Compose, Caddyfile, livekit.yaml, and .env.example
- Edit .env to set FLUXER_DOMAIN, FLUXER_CADDY_SITE_ADDRESS, FLUXER_VAPID_EMAIL
- Generate random secrets for PostgreSQL, Meilisearch, S3, RPC, dashboard, media, LiveKit using openssl and sed
- Generate VAPID key pair with a temporary Node.js container and insert into .env
- Set .env permissions to 600
- Validate docker compose config with docker compose config --quiet
- Pull images with docker compose pull
- Start containers with docker compose up -d
- Verify all containers are Up and healthy with docker compose ps -a
- Check API logs to confirm services initialized correctly
证据
Fluxer ships an official Docker Compose stack that runs the web application, API, gateway, administration dashboard, messaging services, media services, PostgreSQL, Valkey, NATS, Meilisearch, SeaweedFS, LiveKit, and Caddy.
Generate the media upload relay secret in Base64 format and insert it into the .env file: sed -i "s|^FLUXER_MEDIA_PROXY_UPLOAD_RELAY_SECRET_BASE64=.*|FLUXER_MEDIA_PROXY_UPLOAD_RELAY_SECRET_BASE64=$(openssl rand -base64 32)|" .env
docker run --rm node:24-alpine npx --yes web-push generate-vapid-keys --json
- 记录日期: 2026-10-01T20:55:54.133Z