1# Reference deployment for a lofi-node container.2#3# First run (writes /data/config.json into the volume):4# docker compose run --rm lofi-node init --dir /data --port 4802 \5# --public-url https://sync.example.net6# Then:7# docker compose up -d8# Issue an app ticket:9# docker compose exec lofi-node lofi-node ticket issue --dir /data --label phone10#11# host networking: iroh hole-punching works best without the bridge NAT in12# the path. Bridge mode with a published port serves apps fine, but paired13# nodes are more likely to fall back to relayed traffic. See14# https://lofi.host/node/docs/beyond-the-lan1516services:17 lofi-node:18 image: ghcr.io/felinestatemachine/lofi-node:latest19 network_mode: host20 volumes:21 - lofi-node-data:/data22 restart: unless-stopped2324volumes:25 lofi-node-data: