feat(infra): Nix build for scraper, GitHub Actions workflow

- Build scraper (Rust) with Nix — cargo build --release
- Create scraper systemd unit (port 4091), env from Docker config
- Fix HOME/CARGO_HOME for Rust/cargo in Nix sandbox
- Update Traefik apps.yaml: scraper -> host.docker.internal:4091
- Add iptables rules for port 4091 (Docker->host)
- Add GitHub Actions workflow: nix-build.yml (determinate-nix + deploy)
- Save iptables rules persistently
This commit is contained in:
Asep Haryana
2026-07-30 18:46:45 +07:00
parent 1ae8a53cd4
commit 46730ec07d
3 changed files with 75 additions and 1 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ http:
scraper-service:
loadBalancer:
servers:
- url: 'http://scraper-api:4091'
- url: 'http://host.docker.internal:4091'
tools-service:
loadBalancer: