chore: add docker compose scaffold (runner + tor)
This commit is contained in:
commit
ed2609c100
|
|
@ -0,0 +1,18 @@
|
|||
version: "3.9"
|
||||
services:
|
||||
runner:
|
||||
image: python:3.11-slim
|
||||
command: ["/bin/sh","-lc","pip install requests pyyaml && python /app/kom_runner.py"]
|
||||
volumes:
|
||||
- /home/kompanion/.local/state/kompanion:/state
|
||||
- /home/kompanion/.config/kompanion:/config:ro
|
||||
- /home/kompanion/metal-kompanion-runtime:/app:ro
|
||||
environment:
|
||||
- XDG_STATE_HOME=/home/kompanion/.local/state
|
||||
- XDG_CONFIG_HOME=/home/kompanion/.config
|
||||
network_mode: "host"
|
||||
restart: unless-stopped
|
||||
tor:
|
||||
image: dperson/torproxy
|
||||
ports: ["9050:9050"]
|
||||
restart: unless-stopped
|
||||
Loading…
Reference in New Issue