فهرست منبع

Now with persistent storage

Zach Isbach 4 سال پیش
والد
کامیت
5172c24eb7
1فایلهای تغییر یافته به همراه9 افزوده شده و 0 حذف شده
  1. 9 0
      plays/docker/service.yaml

+ 9 - 0
plays/docker/service.yaml

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