Files
fx-test/fluxer/fluxer_devops/valkey/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

43 lines
861 B
YAML

services:
valkey:
image: valkey/valkey:8-alpine
hostname: valkey
env_file:
- /etc/fluxer/valkey.env
entrypoint: /entrypoint.sh
volumes:
- valkey_data:/data
- ./conf/valkey.conf.template:/etc/valkey/valkey.conf.template:ro
- ./entrypoint.sh:/entrypoint.sh:ro
networks:
- fluxer-shared
ports:
- '6379:6379'
deploy:
replicas: 1
restart_policy:
condition: on-failure
delay: 10s
max_attempts: 3
resources:
limits:
cpus: '2'
memory: 4G
reservations:
cpus: '1'
memory: 2G
healthcheck:
test: ['CMD', 'valkey-cli', 'ping']
interval: 10s
timeout: 5s
retries: 5
start_period: 30s
networks:
fluxer-shared:
external: true
volumes:
valkey_data:
driver: local