Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aaimio/miniooni
Docker wrapper for OONI's miniooni, a tool designed to measure internet censorship by executing various tests.
https://github.com/aaimio/miniooni
censorship crowdsourcing docker docker-compose homelab ooniprobe privacy self-hosted selfhosted
Last synced: 13 days ago
JSON representation
Docker wrapper for OONI's miniooni, a tool designed to measure internet censorship by executing various tests.
- Host: GitHub
- URL: https://github.com/aaimio/miniooni
- Owner: aaimio
- License: gpl-3.0
- Created: 2024-08-20T11:45:43.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-11-26T06:48:40.000Z (2 months ago)
- Last Synced: 2025-01-13T01:05:47.864Z (15 days ago)
- Topics: censorship, crowdsourcing, docker, docker-compose, homelab, ooniprobe, privacy, self-hosted, selfhosted
- Language: Shell
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: docs/README.md
- License: LICENSE
Awesome Lists containing this project
README
# miniooni for Docker
Docker wrapper for `miniooni`, a tool designed to measure internet censorship.
- Contribute spare bandwidth to help measure internet censorship
- [Things you should know before running miniooni](https://ooni.org/about/risks/)
- For more information visit the [OONI website](https://ooni.org) & [OONI Probe CLI repo](https://github.com/ooni/probe-cli)> Also see [Docker wrapper for OONI Probe](https://github.com/aaimio/ooniprobe)
## Getting started
Running the Docker image will do the following:
1. Launches the miniooni CLI and starts tests defined through the `command[0-99]` environment variable(s)
2. After tests complete, the container will `sleep` for 6 hours until the next run (this is configurable)### Docker Compose
```yaml
services:
miniooni:
image: aaimio/miniooni:latest
container_name: miniooni
volumes:
- ./miniooni:/config
environment:
command1: [email protected] --yes
sleep: true
restart: unless-stopped
```### Docker CLI
```sh
docker run \
--name miniooni \
-v ./miniooni:/config \
-e command1="[email protected] --yes" \
-e sleep=true \
--restart unless-stopped \
aaimio/miniooni:latest
```## Environment variables
- **`command[0-99]`**: Tests to run with `miniooni` (tests are immediately executed one after another)
- **`seconds_between_tests`**: Number of seconds between full test cycles (default is 21600 seconds = 6 hours)
- **`sleep`**: Boolean indicating whether the Docker container should sleep between test executions
- If `true`, the container will `sleep` after completing tests, ensuring that it doesn't exit
- Alternatively, you could use a cron or other type of orchestration to periodically start the container## License
- [miniooni for Docker](https://github.com/aaimio/miniooni/blob/main/LICENSE)
- [OONI Probe CLI license](https://github.com/ooni/probe-cli/blob/master/LICENSE)
- [OONI.org license](https://github.com/ooni/ooni.org/blob/master/LICENSE)