7 Star 41 Fork 13

jxsylar / wechat-spider

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
docker-compose.yml 926 Bytes
一键复制 编辑 原始数据 按行查看 历史
version: '3'
services:
wechat-spider:
image: wechat-spider:latest
build: .
restart: always
privileged: true
command: ["wait-for-it", "mariadb:3306", "--", "python3", "./run.py"]
ports:
- '8080:8080'
- '8081:8081'
volumes:
- "./mitmproxy:/root/.mitmproxy"
- "./config:/app/wechat-spider/config"
depends_on:
- mariadb
- redis
links:
- redis
- mariadb
redis:
image: redis:3.2
restart: always
mariadb:
image: bitnami/mariadb:10.5-debian-10
ports:
- '3306:3306'
volumes:
- './mariadb_data:/bitnami/mariadb'
environment:
- MARIADB_ROOT_USER=root
- MARIADB_ROOT_PASSWORD=root
- MARIADB_CHARACTER_SET=utf8mb4
- MARIADB_COLLATE=utf8mb4_unicode_ci
healthcheck:
test: ['CMD', '/opt/bitnami/scripts/mariadb/healthcheck.sh']
interval: 15s
timeout: 5s
retries: 6
1
https://gitee.com/jxsylar/wechat-spider.git
git@gitee.com:jxsylar/wechat-spider.git
jxsylar
wechat-spider
wechat-spider
master

搜索帮助