Files
timmy-home/infrastructure/timmy-bridge/relay/docker-compose.yml

36 lines
797 B
YAML
Raw Normal View History

version: '3.8'
services:
timmy-relay:
image: hoytech/strfry:latest
container_name: timmy-relay
restart: unless-stopped
ports:
- "3334:7777"
volumes:
- ./strfry.conf:/etc/strfry.conf:ro
- ./data:/app/data
environment:
- TZ=UTC
command: ["relay"]
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
# Alternative: Use khatru if strfry unavailable
timmy-relay-khatru:
image: fiatjaf/khatru:latest
container_name: timmy-relay-khatru
restart: unless-stopped
ports:
- "3334:3334"
volumes:
- ./khatru-data:/data
environment:
- RELAY_NAME=Timmy Foundation Relay
- RELAY_DESCRIPTION=Sovereign Nostr relay for Local Timmy
profiles:
- khatru