Replace raw podman run with declarative compose.yml per host type. Master (odin) gets compose.master.yml, workers get compose.worker.yml.
16 lines
322 B
YAML
16 lines
322 B
YAML
version: "3"
|
|
services:
|
|
ppf:
|
|
container_name: ppf
|
|
image: localhost/ppf:latest
|
|
build: .
|
|
network_mode: host
|
|
restart: unless-stopped
|
|
environment:
|
|
PYTHONUNBUFFERED: "1"
|
|
volumes:
|
|
- .:/app:ro
|
|
- ./data:/app/data
|
|
- ./config.ini:/app/config.ini:ro
|
|
command: python2 -u ppf.py
|