completed the refactoring, version 1.5 is ready for build

This commit is contained in:
Volodymyr Smirnov 2020-11-02 11:25:56 +02:00
parent 3f710f97f6
commit ea5791f98a
3 changed files with 11 additions and 5 deletions

View File

@ -23,6 +23,7 @@ namespace MalwareMultiScan.Shared.Extensions
services.AddSingleton<IConsulClient>(new ConsulClient(config =>
{
config.Address = configuration.GetValue<Uri>("CONSUL_ADDRESS");
config.WaitTime = TimeSpan.FromSeconds(120);
}));
}

View File

@ -0,0 +1,6 @@
export enum ScanResultStatus
{
Queued,
Succeeded,
Failed
}

View File

@ -13,12 +13,12 @@ services:
volumes:
- mongodb:/data
# See https://github.com/hashicorp/consul/blob/master/demo/docker-compose-cluster/docker-compose.yml
# for a production-ready config.
consul:
image: consul:1.8
restart: on-failure
volumes:
- consul:/consul/data
command: consul agent -server -bootstrap -client 0.0.0.0
command: consul agent -dev -log-level=info -bind=0.0.0.0 -client=0.0.0.0
ui:
image: mindcollapse/malware-multi-scan-ui
@ -153,5 +153,4 @@ services:
volumes:
mongodb:
redis:
consul:
redis: