mirror of
https://github.com/volodymyrsmirnov/MalwareMultiScan.git
synced 2025-08-23 21:12:22 +00:00
completed the refactoring, version 1.5 is ready for build
This commit is contained in:
parent
3f710f97f6
commit
ea5791f98a
@ -23,6 +23,7 @@ namespace MalwareMultiScan.Shared.Extensions
|
|||||||
services.AddSingleton<IConsulClient>(new ConsulClient(config =>
|
services.AddSingleton<IConsulClient>(new ConsulClient(config =>
|
||||||
{
|
{
|
||||||
config.Address = configuration.GetValue<Uri>("CONSUL_ADDRESS");
|
config.Address = configuration.GetValue<Uri>("CONSUL_ADDRESS");
|
||||||
|
config.WaitTime = TimeSpan.FromSeconds(120);
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
6
MalwareMultiScan.Ui/models/scan-result-status.ts
Normal file
6
MalwareMultiScan.Ui/models/scan-result-status.ts
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
export enum ScanResultStatus
|
||||||
|
{
|
||||||
|
Queued,
|
||||||
|
Succeeded,
|
||||||
|
Failed
|
||||||
|
}
|
@ -13,12 +13,12 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- mongodb:/data
|
- mongodb:/data
|
||||||
|
|
||||||
|
# See https://github.com/hashicorp/consul/blob/master/demo/docker-compose-cluster/docker-compose.yml
|
||||||
|
# for a production-ready config.
|
||||||
consul:
|
consul:
|
||||||
image: consul:1.8
|
image: consul:1.8
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes:
|
command: consul agent -dev -log-level=info -bind=0.0.0.0 -client=0.0.0.0
|
||||||
- consul:/consul/data
|
|
||||||
command: consul agent -server -bootstrap -client 0.0.0.0
|
|
||||||
|
|
||||||
ui:
|
ui:
|
||||||
image: mindcollapse/malware-multi-scan-ui
|
image: mindcollapse/malware-multi-scan-ui
|
||||||
@ -153,5 +153,4 @@ services:
|
|||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
mongodb:
|
mongodb:
|
||||||
redis:
|
redis:
|
||||||
consul:
|
|
Loading…
x
Reference in New Issue
Block a user