33 lines
808 B
YAML
33 lines
808 B
YAML
# PPF master node (odin)
|
|
#
|
|
# Scrapes proxy sources, runs verification, serves API/dashboard.
|
|
# No routine proxy testing -- workers handle that.
|
|
#
|
|
# Prerequisites:
|
|
# - config.ini (not tracked, host-specific)
|
|
# - data/ (created automatically)
|
|
#
|
|
# Usage:
|
|
# podman-compose -f compose.master.yml up -d
|
|
# podman-compose -f compose.master.yml logs -f
|
|
# podman-compose -f compose.master.yml down
|
|
|
|
services:
|
|
ppf:
|
|
container_name: ppf
|
|
image: localhost/ppf:latest
|
|
build: .
|
|
network_mode: host
|
|
restart: unless-stopped
|
|
logging:
|
|
driver: k8s-file
|
|
stop_signal: SIGTERM
|
|
stop_grace_period: 30s
|
|
environment:
|
|
PYTHONUNBUFFERED: "1"
|
|
volumes:
|
|
- .:/app:ro,Z
|
|
- ./data:/app/data:Z
|
|
- ./config.ini:/app/config.ini:ro,Z
|
|
command: python -u ppf.py
|