restart unless stopped

This commit is contained in:
Daniel Langbein 2020-12-05 14:02:59 +01:00
parent 141582842a
commit edca8ef78d

View File

@ -3,6 +3,7 @@ services:
bbb-status: bbb-status:
build: . build: .
command: ["log-verbose"] # see main.py for available commandline arguments command: ["log-verbose"] # see main.py for available commandline arguments
restart: unless-stopped
environment: environment:
- PYTHONPATH=/usr/src/ # pythonpath is required to import from self created modules ("from langfingaz ...") - PYTHONPATH=/usr/src/ # pythonpath is required to import from self created modules ("from langfingaz ...")
- PYTHONUNBUFFERED=1 - PYTHONUNBUFFERED=1