version: '3.7' services: bbb-status: build: . command: ["log-verbose"] # see main.py for available commandline arguments restart: unless-stopped environment: - PYTHONPATH=/usr/src/ # pythonpath is required to import from self created modules ("from langfingaz ...") - PYTHONUNBUFFERED=1 # unbuffered output, otherwise script sleeps before any output appears volumes: - ./secret:/usr/secret - ./data:/usr/data - ./plot:/usr/plot