Make docker URI part of config

This commit is contained in:
Einar Forselv
2019-04-15 19:49:57 +02:00
parent e441c1fe91
commit 2884fc1eec
3 changed files with 6 additions and 2 deletions

View File

@@ -4,6 +4,7 @@ import os
class Config:
repository = os.environ['RESTIC_REPOSITORY']
password = os.environ['RESTIC_PASSWORD']
docker_base_url = os.environ.get('DOCKER_BASE_URL') or "unix://tmp/docker.sock"
@classmethod
def check(cls):