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.1 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:alpine
version: '3.7'
services:
av:
image: mkodockx/docker-clamav:alpine
container_name: nextav
restart: unless-stopped
volumes:
- /srv/opt/clam/conf:/etc/clamav/conf
- /srv/opt/clam/store:/store
app:
image: nextcloud:production
container_name: nextapp
restart: unless-stopped
env_file:
- env/app.env
volumes:
- /srv/opt/nextcloud/html:/var/www/html
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
links:
- av:av
- db
- redis
depends_on:
- av
- db
- redis
networks:
outpost_network:
default:
db:
image: mariadb
container_name: nextdb
restart: unless-stopped
volumes:
- /srv/opt/nextcloud/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
networks:
outpost_network:
external: true