Zach Isbach 4 лет назад
Родитель
Сommit
5172c24eb7
1 измененных файлов с 9 добавлено и 0 удалено
  1. 9 0
      plays/docker/service.yaml

+ 9 - 0
plays/docker/service.yaml

@@ -9,3 +9,12 @@
       publish: [
         { published_port: 5000, target_port: 5000 }
       ]
+      mounts: [
+        {
+          type: volume,
+          driver_config: { name: glusterfs },
+          source: docker_registry,
+          target: /var/lib/registry,
+          readonly: no,
+        }
+      ]