Initial commit

This commit is contained in:
2026-07-05 17:59:02 +08:00
commit 11ea2ddb9a
18 changed files with 5549 additions and 0 deletions
+49
View File
@@ -0,0 +1,49 @@
services:
newspaper:
network_mode: host
build:
context: .
network: host
args:
HTTP_PROXY: ${HTTP_PROXY:-}
HTTPS_PROXY: ${HTTPS_PROXY:-}
ALL_PROXY: ${ALL_PROXY:-}
NO_PROXY: ${NO_PROXY:-localhost,127.0.0.1}
http_proxy: ${HTTP_PROXY:-}
https_proxy: ${HTTPS_PROXY:-}
all_proxy: ${ALL_PROXY:-}
no_proxy: ${NO_PROXY:-localhost,127.0.0.1}
image: hongyu-daily-newspaper:latest
env_file:
- .env
environment:
TZ: ${TZ:-Asia/Shanghai}
volumes:
- ./newspaper:/app/newspaper
command: ["hongyu-daily", "run"]
restart: "no"
scheduler:
network_mode: host
build:
context: .
network: host
args:
HTTP_PROXY: ${HTTP_PROXY:-}
HTTPS_PROXY: ${HTTPS_PROXY:-}
ALL_PROXY: ${ALL_PROXY:-}
NO_PROXY: ${NO_PROXY:-localhost,127.0.0.1}
http_proxy: ${HTTP_PROXY:-}
https_proxy: ${HTTPS_PROXY:-}
all_proxy: ${ALL_PROXY:-}
no_proxy: ${NO_PROXY:-localhost,127.0.0.1}
image: hongyu-daily-newspaper:latest
env_file:
- .env
environment:
TZ: ${TZ:-Asia/Shanghai}
NEWSPAPER_SCHEDULE_TIME: ${NEWSPAPER_SCHEDULE_TIME:-08:00}
volumes:
- ./newspaper:/app/newspaper
command: ["hongyu-daily", "schedule"]
restart: unless-stopped