Files
fx-test/fluxer/fluxer_devops/nats_jetstream/compose.yaml
Vish 3b9d759b4b feat: add fluxer upstream source and self-hosting documentation
- Clone of github.com/fluxerapp/fluxer (official upstream)
- SELF_HOSTING.md: full VM rebuild procedure, architecture overview,
  service reference, step-by-step setup, troubleshooting, seattle reference
- dev/.env.example: all env vars with secrets redacted and generation instructions
- dev/livekit.yaml: LiveKit config template with placeholder keys
- fluxer-seattle/: existing seattle deployment setup scripts
2026-03-13 00:55:14 -07:00

35 lines
740 B
YAML

services:
nats_jetstream:
image: nats:2-alpine
hostname: nats_jetstream
command: ['-c', '/etc/nats/nats.conf']
env_file:
- /etc/fluxer/nats_jetstream.env
volumes:
- ./nats.conf:/etc/nats/nats.conf:ro
- nats_jetstream_data:/data
networks:
- fluxer-shared
ports:
- '4223:4222'
deploy:
replicas: 1
restart_policy:
condition: on-failure
delay: 10s
max_attempts: 3
healthcheck:
test: ['CMD-SHELL', 'wget -q --spider http://localhost:8222/healthz || exit 1']
interval: 10s
timeout: 5s
retries: 5
start_period: 10s
networks:
fluxer-shared:
external: true
volumes:
nats_jetstream_data:
driver: local