This commit is contained in:
aaron 2025-05-03 21:57:56 +08:00
parent 7b16c08b44
commit 7ab58d1d87
2 changed files with 5 additions and 4 deletions

View File

@ -18,9 +18,9 @@ services:
cryptoai-monitor:
build: .
container_name: cryptoai-monitor
image: cryptoai-monitor:0.0.2
image: cryptoai-monitor:0.0.4
restart: always
command: python monitor_endpoint.py
command: python run_monitor.py
environment:
- TZ=Asia/Shanghai
networks:

View File

@ -1,5 +1,6 @@
import os
import sys
from cryptoai.monitor_endpoint import run_monitor
import sys
if __name__ == "__main__":
sys.exit(run_monitor())
run_monitor()