chore: docker compose ClamAV optimizations

* Update docker-compose.yml

Adds a depends_on clause that waits for clamav to be fulyl started before starting pingvin-share.

* Update README.md

Explains that it may take a minute or two for the app to start while it waits for clamav.

* minor refactoring

Co-authored-by: Elias Schneider <login@eliasschneider.com>
This commit is contained in:
Luke
2023-01-13 08:11:33 -05:00
committed by GitHub
parent e09213a295
commit 2a7587ed78
2 changed files with 6 additions and 2 deletions

View File

@@ -7,8 +7,12 @@ services:
- 3000:3000
volumes:
- "./data:/opt/app/backend/data"
# Optional: If you add ClamAV, uncomment the following to have ClamAV start first.
# depends_on:
# clamav:
# condition: service_healthy
# Optional: Add ClamAV (see README.md)
# ClamAV is currently only available for AMD64 see https://github.com/Cisco-Talos/clamav/issues/482
# clamav:
# restart: unless-stopped
# image: clamav/clamav
# image: clamav/clamav