-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
58 lines (52 loc) · 1.28 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
54
55
56
57
58
version: '3'
services:
nextcloud-mysql:
image: servercontainers/mysql
restart: always
environment:
ADMIN_USER: mysql_admin
ADMIN_PASSWORD: SuperSecure
BACKUP_ENABLED: enable
DB_NAME: nextcloud
DB_USER: nextcloud
DB_PASSWORD: NextCloud
volumes:
- ./mysql/data:/var/lib/mysql
- ./mysql/backup:/var/mysql-backup
networks:
- nextcloud
nextcloud-onlyoffice:
build: ./onlyoffice-documentserver
image: localhost/documentserver
restart: always
environment:
SECRET: secret
ports:
- 443:443
networks:
- nextcloud
nextcloud:
build: .
image: servercontainers/nextcloud
restart: always
environment:
RELATIVE_URL: /nextcloud
CUSTOM_PLUGINS: calendar contacts mail gallery audioplayer deck notes onlyoffice bookmarks
ADMIN_NAME: nc-admin
ADMIN_PASSWORD: Secr3t
DB_HOST: nextcloud-mysql
DB_TYPE: mysql
DB_NAME: nextcloud
DB_USER: nextcloud
DB_PASSWORD: NextCloud
volumes:
- ./nextcloud/apps:/var/www/nextcloud/apps
- ./nextcloud/config:/var/www/nextcloud/config
- ./nextcloud/data:/var/www/nextcloud/data
ports:
- 443:443
networks:
- nextcloud
networks:
nextcloud:
driver: bridge