forked from mko-x/docker-clamav
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
53 lines (47 loc) · 1.02 KB
/
docker-compose.yml
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
47
48
49
50
51
52
53
# example docker-compose configuration file for using mkodockx/docker-clamav
version: '3.7'
services:
av:
#debian: image: mkodockx/docker-clamav
image: mkodockx/docker-clamav:alpine
container_name: nextav
restart: unless-stopped
volumes:
- clam:/var/lib/clamav
app:
image: nextcloud:latest
container_name: nextapp
restart: unless-stopped
env_file:
- env/app.env
volumes:
- html:/var/www/html
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
depends_on:
- av
- db
- redis
networks:
outpost_network:
default:
db:
image: mariadb
container_name: nextdb
restart: unless-stopped
volumes:
- db:/var/lib/mysql
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
env_file:
- env/db.env
redis:
image: redis:alpine
container_name: nextredis
restart: unless-stopped
volumes:
html:
db:
clam:
networks:
outpost_network:
external: true