Skip to content

Commit fd38d81

Browse files
committed
feat: randomize a bit the execution with docker compose
1 parent a1bcb8d commit fd38d81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ services:
44
image: altertek/ooni-probe
55
container_name: "ooni-probe"
66
restart: unless-stopped
7-
# Overrides the default command and runs the probe every 12 hours
7+
# Overrides the default command and runs the probe every 10 to 12 hours
88
command: >
99
sh -c "/usr/bin/ooniprobe run unattended --batch
10-
&& /bin/sleep 43200"
10+
&& /bin/sleep $(shuf -i 36000-42000 -n 1)"
1111
logging:
1212
driver: "json-file"
1313
options:

0 commit comments

Comments
 (0)