feat(back-end): add ClamAV service remember to add env and compose.deploy on server
This commit is contained in:
@@ -20,8 +20,11 @@ services:
|
||||
- MARKUP_PERCENT=20
|
||||
- TEMP_DIR=/app/temp
|
||||
- PROFILES_DIR=/app/profiles
|
||||
- CLAMAV_HOST=clamav
|
||||
- CLAMAV_PORT=3310
|
||||
depends_on:
|
||||
- db
|
||||
- clamav
|
||||
restart: unless-stopped
|
||||
|
||||
frontend:
|
||||
@@ -49,5 +52,13 @@ services:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
restart: unless-stopped
|
||||
|
||||
clamav:
|
||||
platform: linux/amd64
|
||||
image: clamav/clamav:latest
|
||||
container_name: print-calculator-clamav
|
||||
ports:
|
||||
- "3310:3310"
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
|
||||
Reference in New Issue
Block a user