add compose files for container management

Replace raw podman run with declarative compose.yml per host type.
Master (odin) gets compose.master.yml, workers get compose.worker.yml.
This commit is contained in:
Username
2026-02-17 18:17:12 +01:00
parent 0311abb46a
commit 1236ddbd2d
3 changed files with 33 additions and 11 deletions

18
compose.worker.yml Normal file
View File

@@ -0,0 +1,18 @@
version: "3"
services:
ppf-worker:
container_name: ppf-worker
image: localhost/ppf-worker:latest
build: .
network_mode: host
restart: unless-stopped
logging:
driver: k8s-file
environment:
PYTHONUNBUFFERED: "1"
volumes:
- ./src:/app:ro
- ./data:/app/data
- ./config.ini:/app/config.ini:ro
- ./servers.txt:/app/servers.txt:ro
command: python -u ppf.py --worker-v2 --server http://10.200.1.250:8081