services: torrent-faker: build: . ports: - "3000:3000" # Web UI + REST API volumes: - ./torrents:/app/torrents # drop .torrent files here - ./config:/app/config # config.yml goes here environment: - NODE_ENV=production restart: unless-stopped healthcheck: test: ["CMD", "wget", "-qO-", "http://localhost:3000/api/status"] interval: 30s timeout: 5s retries: 3