Add support for DOCKER_* variables in .env file
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
c7afe16419
commit
b99037b4a6
6 changed files with 24 additions and 14 deletions
|
|
@ -5,7 +5,7 @@ import os
|
|||
import sys
|
||||
|
||||
DEFAULT_TIMEOUT = 10
|
||||
HTTP_TIMEOUT = int(os.environ.get('COMPOSE_HTTP_TIMEOUT', os.environ.get('DOCKER_CLIENT_TIMEOUT', 60)))
|
||||
HTTP_TIMEOUT = int(os.environ.get('DOCKER_CLIENT_TIMEOUT', 60))
|
||||
IMAGE_EVENTS = ['delete', 'import', 'pull', 'push', 'tag', 'untag']
|
||||
IS_WINDOWS_PLATFORM = (sys.platform == "win32")
|
||||
LABEL_CONTAINER_NUMBER = 'com.docker.compose.container-number'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue