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

update sender

parent 4dd854e9
version: "3.9"
services:
cryptor:
cryptor-sender:
image: 192.168.1.220:5000/cryptor:v0.0.1
container_name: cryptor
container_name: cryptor-sender
deploy:
restart_policy:
condition: on-failure
......@@ -13,17 +13,23 @@ services:
volumes:
- ./cryptor/config.toml:/root/config.toml
sender:
image: simulator
image: 192.168.1.220:5000/simulator:v0.0.7
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:
resources:
limits:
cpus: "20.00"
memory: 20G"
cpus: "36.00"
memory: 32G
reservations:
cpus: "15.00"
memory: 15G"
cpus: "30.00"
memory: 32G
restart_policy:
condition: on-failure
delay: 15s
max_attempts: 100
window: 120s
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