提交 8b7a14aa authored 作者: zw.wang's avatar zw.wang

fix: 修复问题

上级 0628fdce
...@@ -4,4 +4,4 @@ WORKDIR /root/hikvision-isc ...@@ -4,4 +4,4 @@ WORKDIR /root/hikvision-isc
COPY ./ ./ COPY ./ ./
RUN pip install -e . RUN pip install -e . -i https://pypi.tuna.tsinghua.edu.cn/simple/
...@@ -43,6 +43,8 @@ services: ...@@ -43,6 +43,8 @@ services:
container_name: redis container_name: redis
expose: expose:
- "6379" - "6379"
ports:
- 6379:6379
volumes: volumes:
- /var/lib/redis:/data - /var/lib/redis:/data
command: redis-server /etc/redis.conf --appendonly yes command: redis-server /etc/redis.conf --appendonly yes
...@@ -103,6 +103,6 @@ class EventMergerJob: ...@@ -103,6 +103,6 @@ class EventMergerJob:
if __name__ == '__main__': if __name__ == '__main__':
from intelab_python_sdk.logger import log_init from intelab_python_sdk.logger import log_init
log_init('event_merger', False) log_init('event_merger', False, '/var/log/event_rcv/')
em = EventMergerJob() em = EventMergerJob()
em.start() em.start()
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论