-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
56 lines (51 loc) · 995 Bytes
/
docker-compose.yaml
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
54
55
56
version: '3.8'
volumes:
next-data:
name: "next-data"
next-db:
name: "next-db"
networks:
next-intern:
name: "next-intern"
frontend:
name: "frontend"
services:
next-db:
image: mariadb:10.5
build: db
container_name: next-db
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always
volumes:
- next-db:/var/lib/mysql
env_file:
- .mariadb.env
cap_drop:
- ALL
cap_add:
- dac_override
- setgid
- setuid
networks:
- next-intern
next-app:
image: nextcloud:19.0-apache
build: app
container_name: next-app
volumes:
- next-data:/var/www/html
# environment:
# - APACHE_DISABLE_REWRITE_IP=1
# - OVERWRITEHOST=nginx-proxy
# - OVERWRITEPROTOCOL=https
restart: always
cap_drop:
- ALL
cap_add:
- dac_override
- chown
- setgid
- setuid
networks:
- next-intern
- frontend