Browse Source

to private

Germey 5 years ago
parent
commit
8114cab6fc
3 changed files with 3 additions and 3 deletions
  1. 1 1
      Dockerfile
  2. 1 1
      deployment.yml
  3. 1 1
      docker-compose.yml

+ 1 - 1
Dockerfile

@@ -2,5 +2,5 @@ FROM python:3.6
 WORKDIR /app
 COPY . .
 RUN pip install -r requirements.txt
-VOLUME ["/app/proxypool/crawlers"]
+VOLUME ["/app/proxypool/crawlers/private"]
 CMD ["supervisord", "-c", "supervisord.conf"]

+ 1 - 1
deployment.yml

@@ -95,7 +95,7 @@ items:
                 - containerPort: 5555
               resources: {}
               volumeMounts:
-                - mountPath: "/app/proxypool/crawlers"
+                - mountPath: "/app/proxypool/crawlers/private"
                   name: proxypool
           restartPolicy: Always
           volumes:

+ 1 - 1
docker-compose.yml

@@ -15,6 +15,6 @@ services:
       - "5555:5555"
     restart: always
     volumes:
-      - /tmp/proxypool/crawlers:/app/proxypool/crawlers
+      - /tmp/proxypool/crawlers/private:/app/proxypool/crawlers/private
     environment:
       REDIS_HOST: redis