发布 BiliFetcher

Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
2025-05-22 13:05:54 +08:00
parent dedc96b4ea
commit 705713ee7a
10 changed files with 164 additions and 0 deletions
@@ -0,0 +1,42 @@
networks:
1panel-network:
external: true
services:
bili-fetcher-api:
image: bilibili-api:latest
build:
context: https://github.com/2977094657/BilibiliHistoryFetcher.git
dockerfile: docker/Dockerfile.cpu
container_name: api-${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
env_file:
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${BILI_FETCHER_ROOT_PATH}/config:/app/config
- ${BILI_FETCHER_ROOT_PATH}/output:/app/output
environment:
- TZ=Asia/Shanghai
- DOCKER_ENV=true
bili-fetcher-web:
image: bilibili-frontend:latest
build:
context: https://github.com/2977094657/BiliHistoryFrontend.git
dockerfile: Dockerfile
depends_on:
- bili-fetcher-api
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:80
environment:
- BACKEND_URL=http://bili-fetcher-api:8899
- TZ=Asia/Shanghai