浏览代码

Add depends_on to ALLOWED_KEYS

This ensures and already existing `depends_on` is not deleted when the service on which it is defined also employs `extends`.

Signed-off-by: Ryan Taylor Long <[email protected]>
Ryan Taylor Long 9 年之前
父节点
当前提交
3b7471ae84
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      compose/config/config.py

+ 1 - 0
compose/config/config.py

@@ -84,6 +84,7 @@ DOCKER_CONFIG_KEYS = [
 ALLOWED_KEYS = DOCKER_CONFIG_KEYS + [
     'build',
     'container_name',
+    'depends_on',
     'dockerfile',
     'expose',
     'external_links',