This commit is contained in:
ls
2024-11-26 11:41:19 +08:00
parent 753af44a36
commit 0f7d2075a9
9 changed files with 584 additions and 754 deletions

View File

@@ -65,6 +65,8 @@ services:
- 28080:8080
networks:
- physical-boot
volumes:
- ./logs:/app/logs
# physical-kkfileview:
# restart: on-failure
# container_name: physical-kkfileview
@@ -83,20 +85,20 @@ services:
- physical-boot
ports:
- 8005:80
physical-crawler:
container_name: physical-crawler
restart: on-failure
depends_on:
- physical-mysql
- physical-minio
image: registry.cn-shanghai.aliyuncs.com/physical/physical-crawler
ports:
- "25000:5000"
environment:
- FLASK_ENV=production
- PYTHONUNBUFFERED=1 # 禁用 Python 输出缓冲
volumes:
- ./crawler_files:/app/downloaded_files
# physical-crawler:
# container_name: physical-crawler
# restart: on-failure
# depends_on:
# - physical-mysql
# - physical-minio
# image: registry.cn-shanghai.aliyuncs.com/physical/physical-crawler
# ports:
# - "25000:5000"
# environment:
# - FLASK_ENV=production
# - PYTHONUNBUFFERED=1 # 禁用 Python 输出缓冲
# volumes:
# - ./crawler_files:/app/downloaded_files
networks:
physical-boot: