Merge pull request #1573 from SkynetLabs/blocker-health-check-failing
health checks depends on blocker when it is available
This commit is contained in:
commit
08c050694e
|
@ -21,8 +21,8 @@ services:
|
|||
- ABUSE_MAILADDRESS=${ABUSE_MAILADDRESS}
|
||||
- ABUSE_MAILBOX=${ABUSE_MAILBOX}
|
||||
- ABUSE_SPONSOR=${ABUSE_SPONSOR}
|
||||
- BLOCKER_HOST=${BLOCKER_HOST}
|
||||
- BLOCKER_PORT=${BLOCKER_PORT}
|
||||
- BLOCKER_HOST=10.10.10.110
|
||||
- BLOCKER_PORT=4000
|
||||
- BLOCKER_AUTH_HEADER=${BLOCKER_AUTH_HEADER}
|
||||
- EMAIL_SERVER=${EMAIL_SERVER}
|
||||
- EMAIL_USERNAME=${EMAIL_USERNAME}
|
||||
|
|
|
@ -7,6 +7,11 @@ x-logging: &default-logging
|
|||
max-file: "3"
|
||||
|
||||
services:
|
||||
health-check:
|
||||
environment:
|
||||
- BLOCKER_HOST=10.10.10.110
|
||||
- BLOCKER_PORT=4000
|
||||
|
||||
blocker:
|
||||
build:
|
||||
context: ./docker/blocker
|
||||
|
|
|
@ -7,7 +7,6 @@ x-logging: &default-logging
|
|||
max-file: "3"
|
||||
|
||||
services:
|
||||
|
||||
clamav:
|
||||
image: clamav/clamav:stable_base
|
||||
container_name: clamav
|
||||
|
@ -21,7 +20,7 @@ services:
|
|||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '${CLAMAV_CPU:-0.50}'
|
||||
cpus: "${CLAMAV_CPU:-0.50}"
|
||||
networks:
|
||||
shared:
|
||||
ipv4_address: 10.10.10.100
|
||||
|
@ -40,8 +39,8 @@ services:
|
|||
environment:
|
||||
- CLAMAV_IP=${CLAMAV_IP:-10.10.10.100}
|
||||
- CLAMAV_PORT=${CLAMAV_PORT:-3310}
|
||||
- BLOCKER_IP=${BLOCKER_IP:-10.10.10.110}
|
||||
- BLOCKER_PORT=${BLOCKER_PORT:-4000}
|
||||
- BLOCKER_IP=10.10.10.110
|
||||
- BLOCKER_PORT=4000
|
||||
expose:
|
||||
- 4000
|
||||
networks:
|
||||
|
|
Reference in New Issue