mirror of
https://github.com/20kaushik02/real-time-traffic-analysis-clickhouse.git
synced 2026-01-25 08:04:04 +00:00
back to ui, WiP
This commit is contained in:
@@ -7,8 +7,8 @@ services:
|
||||
- zookeeper
|
||||
deploy:
|
||||
replicas: 1
|
||||
placement:
|
||||
constraints: [node.labels.worker == true]
|
||||
# placement:
|
||||
# constraints: [node.labels.worker == true]
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
environment:
|
||||
@@ -42,8 +42,8 @@ services:
|
||||
- kafka_data:/var/lib/kafka/data
|
||||
deploy:
|
||||
replicas: 1
|
||||
placement:
|
||||
constraints: [node.labels.worker == true]
|
||||
# placement:
|
||||
# constraints: [node.labels.worker == true]
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
|
||||
@@ -60,8 +60,8 @@ services:
|
||||
command: "sh -c 'sleep 30 && python /app/pcap_processor.py -c /data/csv/main.csv -x --stream_size 100000'"
|
||||
deploy:
|
||||
replicas: 1
|
||||
placement:
|
||||
constraints: [node.labels.worker == true]
|
||||
# placement:
|
||||
# constraints: [node.labels.worker == true]
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
|
||||
|
||||
Reference in New Issue
Block a user