Skip to content

Commit a4e3b70

Browse files
committed
add fastpath2, API only service
this can be brought up independently with its dependencies clickhouse by docker compose up fastpath2
1 parent 75c0767 commit a4e3b70

3 files changed

Lines changed: 32 additions & 1 deletion

File tree

tests/integration/docker-compose.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,31 @@ services:
5353
command: [ "./run_fastpath", "--debug", "--clickhouse-url",
5454
"clickhouse://testuser:testuser@clickhouse:9000/ooni",
5555
"--keep-s3-cache", "--write-to-disk", "--stdout", "--ccs", "IT,IR",
56-
"--start-day", "2026-01-01", "--end-day", "2026-01-03" ]
56+
"--start-day", "2026-01-01", "--end-day", "2026-01-03", "--noapi" ]
5757
depends_on:
5858
clickhouse:
5959
condition: service_healthy
6060
postgres:
6161
condition: service_started
6262

63+
fastpath2:
64+
image: docker.io/ooni/fastpath:latest
65+
volumes:
66+
- ./fastpath2/data:/data:Z
67+
- ./fastpath2/etc:/etc/ooni:Z
68+
- ./fastpath2/lib:/var/lib/fastpath:Z
69+
70+
command: [ "./run_fastpath", "--debug", "--clickhouse-url",
71+
"clickhouse://testuser:testuser@clickhouse:9000/ooni",
72+
"--keep-s3-cache", "--write-to-disk", "--stdout" ]
73+
depends_on:
74+
clickhouse:
75+
condition: service_healthy
76+
postgres:
77+
condition: service_started
78+
ports:
79+
- "8472:8472"
80+
6381
valkey:
6482
image: docker.io/valkey/valkey:latest
6583
ports:
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[DEFAULT]
2+
# Collector hostnames, comma separated
3+
collectors = localhost
4+
clickhouse_url = clickhouse://testuser:testuser@clickhouse:9000/ooni
5+
# S3 access credentials
6+
# Currently unused
7+
s3_access_key =
8+
s3_secret_key =
9+
debug = true
10+
msmt_spool_dir = /data/
11+
worker_timeout = 30
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/*
2+
!.gitignore

0 commit comments

Comments
 (0)