services: sinker: build: . image: cross-reader-sinker restart: unless-stopped command: ["watch"] ports: # Only used by `docker compose run --service-ports ... login`; the # watcher itself does not listen on anything. - "8765:8765" volumes: # Drop EPUBs here and they are compressed + uploaded automatically. - ./unformatted-books:/books/in # Compressed archive copies land here. - ./formatted-books:/books/out # OAuth session + sync ledger. Keep this volume across rebuilds. - sinker-data:/data environment: # Optional while watching; only used by `login`. ATPROTO_HANDLE: ${ATPROTO_HANDLE:-} SINKER_DEVICE: ${SINKER_DEVICE:-X4} SINKER_QUALITY: ${SINKER_QUALITY:-85} SINKER_RENAME: ${SINKER_RENAME:-true} SINKER_WATCH_POLL: ${SINKER_WATCH_POLL:-false} volumes: sinker-data: