services: bouncer: build: context: . dockerfile: Containerfile container_name: bouncer restart: unless-stopped network_mode: host logging: driver: k8s-file environment: PYTHONUNBUFFERED: "1" PYTHONDONTWRITEBYTECODE: "1" PYTHONPATH: /app/src volumes: - ./src:/app/src:Z,ro - ./config:/data:Z command: ["-c", "/data/bouncer.toml", "-v", "--cprofile", "/data/bouncer.prof"]