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: cryptoai-monitor:
build: . build: .
container_name: cryptoai-monitor container_name: cryptoai-monitor
image: cryptoai-monitor:0.0.2 image: cryptoai-monitor:0.0.4
restart: always restart: always
command: python monitor_endpoint.py command: python run_monitor.py
environment: environment:
- TZ=Asia/Shanghai - TZ=Asia/Shanghai
networks: networks:

View File

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