-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompose.yaml
More file actions
46 lines (42 loc) · 897 Bytes
/
compose.yaml
File metadata and controls
46 lines (42 loc) · 897 Bytes
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
43
44
45
46
services:
mongo:
image: mongo
restart: always
ports:
- "27017:27017"
environment:
MONGO_INITDB_ROOT_USERNAME: ${MONGO_USR}
MONGO_INITDB_ROOT_PASSWORD: ${MONGO_PWD}
MONGO_INITDB_DATABASE: Dodò
volumes:
- ./init-mongo.js:/docker-entrypoint-initdb.d/init-mongo.js:ro
clamav:
image: clamav/clamav-debian:1.3.2
environment:
CLAMD_CONF_MaxFileSize: 50M
CLAMD_CONF_MaxScanSize: 50M
restart: always
redis:
image: redis:6.2-alpine
restart: always
ports:
- '6379:6379'
- '7357:7357'
frontend:
build: ./frontend
restart: always
ports:
- "80:80"
backend:
build: ./backend
restart: always
ports:
- "1338:1338"
depends_on:
- redis
- clamav
- mongo
env_file:
- .env
volumes:
- ./backend/public/uploads:/app/public/uploads