Sfoglia il codice sorgente

See https://github.com/docker/compose/pull/1158#discussion_r29063218

Signed-off-by: CJ <[email protected]>
CJ 10 anni fa
parent
commit
86a08c00f2
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      compose/config.py

+ 2 - 0
compose/config.py

@@ -43,6 +43,8 @@ ALLOWED_KEYS = DOCKER_CONFIG_KEYS + [
 DOCKER_CONFIG_HINTS = {
     'cpu_share': 'cpu_shares',
     'add_host': 'extra_hosts',
+    'hosts': 'extra_hosts',
+    'extra_host': 'extra_hosts',
     'link': 'links',
     'port': 'ports',
     'privilege': 'privileged',