Containerfile now only installs dependencies; source code and config are mounted at runtime via compose volumes. Adds k8s-file log driver and PYTHONUNBUFFERED for reliable container logging. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
15 lines
310 B
YAML
15 lines
310 B
YAML
services:
|
|
bouncer:
|
|
build:
|
|
context: .
|
|
dockerfile: Containerfile
|
|
container_name: bouncer
|
|
restart: unless-stopped
|
|
network_mode: host
|
|
logging:
|
|
driver: k8s-file
|
|
volumes:
|
|
- ./src:/app/src:Z,ro
|
|
- ./config:/data:Z
|
|
command: ["-c", "/data/bouncer.toml", "-v"]
|