Files
flod/compose.yml
jbergner d5346b75dc
All checks were successful
release-tag / release-image (push) Successful in 1m40s
Bugfix folder not found
2025-06-16 22:47:16 +02:00

74 lines
1.7 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

services:
flodpodmaster:
image: git.send.nrw/sendnrw/flod-pod:latest
container_name: ipblock-master
depends_on:
- redis
networks:
- flod_nw
environment:
# Beispiel mehrere Listen in einer Kategorie „spam“
BLOCKLIST_MODE: master
REDIS_ADDR: redis:6379
HASH_NAME: bl:flodpod
MASTER_URL: https://flod-proxy.send.nrw
#ports:
#- "8080:8080" # <host>:<container>
restart: unless-stopped
api:
image: git.send.nrw/sendnrw/flod:latest
container_name: ipblock-api
networks:
- flod_nw
depends_on:
- redis
- importer
environment:
# Redis-Adresse schon per Docker-Netzwerk korrekt:
REDIS_ADDR: redis:6379
ROLE: worker
TTL_HOURS: "720"
#ports:
#- "8080:8080" # <host>:<container>
restart: unless-stopped
importer:
image: git.send.nrw/sendnrw/flod-ipv64-parser:latest
container_name: ipblock-importer
networks:
- flod_nw
restart: unless-stopped
volumes:
- importer-lists:/lists
redis:
image: redis:7-alpine
container_name: ipblock-redis
ports:
- "6379:6379"
networks:
- flod_nw
command: ["redis-server", "/usr/local/etc/redis/redis.conf"]
volumes:
- redis-data:/data # falls du doch Persistence willst
- /home/groot/flod/redis.conf:/usr/local/etc/redis/redis.conf:ro
restart: unless-stopped
newt:
image: fosrl/newt
container_name: newt
networks:
- flod_nw
restart: unless-stopped
environment:
- PANGOLIN_ENDPOINT=
- NEWT_ID=
- NEWT_SECRET=
networks:
flod_nw:
volumes:
redis-data:
importer-lists: