Commit 48005fc8 authored by Your Name's avatar Your Name

update sender

parent 4dd854e9
version: "3.9" version: "3.9"
services: services:
cryptor: cryptor-sender:
image: 192.168.1.220:5000/cryptor:v0.0.1 image: 192.168.1.220:5000/cryptor:v0.0.1
container_name: cryptor container_name: cryptor-sender
deploy: deploy:
restart_policy: restart_policy:
condition: on-failure condition: on-failure
...@@ -13,17 +13,23 @@ services: ...@@ -13,17 +13,23 @@ services:
volumes: volumes:
- ./cryptor/config.toml:/root/config.toml - ./cryptor/config.toml:/root/config.toml
sender: sender:
image: simulator image: 192.168.1.220:5000/simulator:v0.0.7
container_name: sender container_name: sender
entrypoint: sh -c 'echo \"sender\" && sleep 30 && go test -v -run TestManyToMany --timeout 0 -args 192.168.1.220 cyrpto 30000" entrypoint: sh -c 'echo "sender" && go test -v -run TestManyToMany ./rpc/grpc/ --timeout 0 '
#entrypoint: sh -c 'echo "sender" && sleep 40 && go test -v -run TestSendSignatureTxsStream ./rpc/grpc/ --timeout 0 -args ring 192.168.1.242 100000'
deploy: deploy:
resources: resources:
limits: limits:
cpus: "20.00" cpus: "36.00"
memory: 20G" memory: 32G
reservations: reservations:
cpus: "15.00" cpus: "30.00"
memory: 15G" memory: 32G
restart_policy:
condition: on-failure
delay: 15s
max_attempts: 100
window: 120s
depends_on: depends_on:
- cryptor - cryptor-sender
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment