@@ -2,5 +2,5 @@ FROM python:3.6
WORKDIR /app
COPY . .
RUN pip install -r requirements.txt
-VOLUME ["/app/proxypool"]
+VOLUME ["/app/proxypool/crawlers"]
CMD ["supervisord", "-c", "supervisord.conf"]
@@ -95,7 +95,7 @@ items:
- containerPort: 5555
resources: {}
volumeMounts:
- - mountPath: "/app/proxypool"
+ - mountPath: "/app/proxypool/crawlers"
name: proxypool
restartPolicy: Always
volumes:
@@ -15,6 +15,6 @@ services:
- "5555:5555"
restart: always
- - /tmp/proxypool:/app/proxypool
+ - /tmp/proxypool/crawlers:/app/proxypool/crawlers
environment:
REDIS_HOST: redis