lint: fix bare except and unused variables
This commit is contained in:
@@ -10,6 +10,12 @@ services:
|
||||
tty: true
|
||||
ports:
|
||||
- "7887:8080"
|
||||
healthcheck:
|
||||
test: ["CMD", "python", "-c", "import http.client,json;c=http.client.HTTPConnection('localhost',8080);c.request('GET','/health');r=c.getresponse();exit(0)if json.loads(r.read()).get('ok')else exit(1)"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 15s
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
- ./session:/app/session
|
||||
|
||||
Reference in New Issue
Block a user