# A seeding node (CONCEPT.md D38): leases article ranges from the seed API over # HTTPS, indexes their headers over its own NNTP connections, and posts the # results back. Outgoing connections only. Builds the indexer image straight # from the git repository. # # cp node.env.example node.env # fill in SEED_TOKEN and the NNTP account # docker compose up -d --build name: usenet-seed-node services: seed-node: build: https://gitea.exp.sforum.nl/daan/usenet-indexer.git#master image: usenet-seed-node:latest command: ["node", "ace", "seed:node"] env_file: node.env restart: unless-stopped # On SIGTERM the node gives its ranges back (resumed from the last batch elsewhere). stop_grace_period: 60s