From 855c23f655a3e8dd9e1efb1eb6267f17651a02ae Mon Sep 17 00:00:00 2001 From: bin4xin <1904829268@qq.com> Date: Tue, 20 Apr 2021 22:43:09 +0800 Subject: [PATCH] Tue, 20 Apr 2021 22:43:09 +0800 commit by B4xinSynchronize. --- Bin4wvsDocker/Docker/Dockerfile | 13 +++++++++++++ Bin4wvsDocker/Docker/docker-compose.yml | 13 +++++++++++++ Bin4wvsDocker/_config.yml | 1 + README.MD | 6 +++++- 4 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 Bin4wvsDocker/Docker/Dockerfile create mode 100644 Bin4wvsDocker/Docker/docker-compose.yml create mode 100644 Bin4wvsDocker/_config.yml diff --git a/Bin4wvsDocker/Docker/Dockerfile b/Bin4wvsDocker/Docker/Dockerfile new file mode 100644 index 0000000..8d3fe31 --- /dev/null +++ b/Bin4wvsDocker/Docker/Dockerfile @@ -0,0 +1,13 @@ +FROM python:3.7 +WORKDIR /usr/src/app +COPY . . + +ENV DEBIAN_FRONTEND noninteractive +ENV TZ Asia/Shanghai + +RUN pip install -r requirements.txt + +EXPOSE 35050 +EXPOSE 36050 + +CMD [ "python", "Src/Run/main.py" ] diff --git a/Bin4wvsDocker/Docker/docker-compose.yml b/Bin4wvsDocker/Docker/docker-compose.yml new file mode 100644 index 0000000..533b18c --- /dev/null +++ b/Bin4wvsDocker/Docker/docker-compose.yml @@ -0,0 +1,13 @@ +version: '2' +services: + proxy_pool: + ports: + - "35050:35050" + - "36050:36050" + image: "1again/proxy_pool" + proxy_pool_db: + volumes: + - /data/mongodb/:/data/ + ports: + - "27017:27017" + image: "mongo" \ No newline at end of file diff --git a/Bin4wvsDocker/_config.yml b/Bin4wvsDocker/_config.yml new file mode 100644 index 0000000..ddeb671 --- /dev/null +++ b/Bin4wvsDocker/_config.yml @@ -0,0 +1 @@ +theme: jekyll-theme-time-machine \ No newline at end of file diff --git a/README.MD b/README.MD index 0f2eca1..642e4fb 100644 --- a/README.MD +++ b/README.MD @@ -115,4 +115,8 @@ public class remote implements ObjectFactory, Serializable { ### 1x02:参考链接 -- *[gfwlist/gfwlist](https://github.com/gfwlist/gfwlist)* \ No newline at end of file +- *[gfwlist/gfwlist](https://github.com/gfwlist/gfwlist)* + +## 二:Bin4wvsDocker + +### 2x01:🚧UNDER CONSTRUCTION🚧