mirror of
https://github.com/opencloud-eu/opencloud-compose.git
synced 2026-06-08 12:10:05 +08:00
Compare commits
2 Commits
fd966a5527
...
8cafd254bb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8cafd254bb | ||
|
|
4121da5547 |
@@ -12,6 +12,9 @@ services:
|
|||||||
ANTIVIRUS_SCANNER_TYPE: clamav
|
ANTIVIRUS_SCANNER_TYPE: clamav
|
||||||
volumes:
|
volumes:
|
||||||
- clamav-socket:/var/run/clamav
|
- clamav-socket:/var/run/clamav
|
||||||
|
depends_on:
|
||||||
|
clamav:
|
||||||
|
condition: service_healthy
|
||||||
clamav:
|
clamav:
|
||||||
image: clamav/clamav:${CLAMAV_DOCKER_TAG:-latest}
|
image: clamav/clamav:${CLAMAV_DOCKER_TAG:-latest}
|
||||||
environment:
|
environment:
|
||||||
@@ -26,6 +29,10 @@ services:
|
|||||||
logging:
|
logging:
|
||||||
driver: ${LOG_DRIVER:-local}
|
driver: ${LOG_DRIVER:-local}
|
||||||
restart: always
|
restart: always
|
||||||
|
healthcheck:
|
||||||
|
test: sh -c "[ -S /tmp/clamd.sock ]"
|
||||||
|
timeout: 1s
|
||||||
|
retries: 20
|
||||||
volumes:
|
volumes:
|
||||||
clamav-db:
|
clamav-db:
|
||||||
clamav-socket:
|
clamav-socket:
|
||||||
|
|||||||
Reference in New Issue
Block a user