소스 검색

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: [
         { published_port: 5000, target_port: 5000 }
       ]
+      mounts: [
+        {
+          type: volume,
+          driver_config: { name: glusterfs },
+          source: docker_registry,
+          target: /var/lib/registry,
+          readonly: no,
+        }
+      ]