-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (42 loc) · 1.03 KB
/
Copy pathdocker-compose.yml
File metadata and controls
42 lines (42 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
version: "3"
services:
filescanner:
image: scanner:latest
container_name: clamav-scanner
environment:
- CLAMAV_NO_MILTERD=true
restart: always
build:
context: .
dockerfile: clamav-docker/Dockerfile
ports:
- "3310:3310"
logging:
driver: awslogs
options:
awslogs-group: /aws/ecs/file-scanner-processor-service
awslogs-region: us-east-1
awslogs-stream-prefix: clam_server
app:
image: app:latest
container_name: file-scanner-processor
restart: always
build:
context: .
dockerfile: docker/Dockerfile
ports:
- "3000:3000"
environment:
- CLAMAV_HOST=localhost
- CLAMAV_PORT=3310
depends_on:
- filescanner
logging:
driver: awslogs
options:
awslogs-group: /aws/ecs/file-scanner-processor-service
awslogs-region: us-east-1
awslogs-stream-prefix: file_scanner
env_file:
- api.env
command: node src/app.js