-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yml
117 lines (107 loc) · 2.38 KB
/
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
services:
db:
image: mariadb:10.6
container_name: db
restart: always
volumes:
- db:/var/lib/mysql
env_file: ./mariadb/.env
networks:
skycloud-network:
redis:
image: redis:alpine
restart: always
networks:
skycloud-network:
onlyoffice-document-server:
container_name: onlyoffice-document-server
image: onlyoffice/documentserver:latest
restart: always
env_file: ./nextcloud/only-office/.env
expose:
- '80'
- '443'
volumes:
- document_data:/var/www/onlyoffice/Data
- document_log:/var/log/onlyoffice
networks:
skycloud-network:
nextcloud-fpm:
image: nextcloud:fpm-alpine
container_name: nextcloud-fpm
restart: always
expose:
- 80
- 9000
volumes:
- nextcloud:/var/www/html:z
- nextcloud-data:/var/www/html/data
- nextcloud-config:/var/www/html/config
- nextcloud-custom_apps:/var/www/html/custom_apps
environment:
- MYSQL_HOST=db
- REDIS_HOST=redis
env_file:
- ./nextcloud/.env
depends_on:
- db
- redis
networks:
skycloud-network:
nextcloud-web:
build: ./nextcloud/web
container_name: nextcloud-web
restart: always
ports:
- "8911:8911"
volumes:
- nextcloud:/var/www/html:z,ro
environment:
- VIRTUAL_HOST=skycloud.yildizskylab.com
- LETSENCRYPT_HOST=
- LETSENCRYPT_EMAIL=
depends_on:
- nextcloud-fpm
networks:
skycloud-network:
nextcloud-cron:
image: nextcloud:fpm-alpine
container_name: nextcloud-cron
restart: always
volumes:
- nextcloud:/var/www/html:z
entrypoint: /cron.sh
depends_on:
- db
- redis
networks:
skycloud-network:
nginx:
image: nginx:alpine
container_name: nginx
restart: always
ports:
- 80:80
- 443:443
volumes:
- ./certs/mycert.key:/etc/nginx/mycert.key
- ./certs/mycert.crt:/etc/nginx/mycert.crt
- ./nginx/conf.d/.:/etc/nginx/conf.d/.
labels:
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
networks:
skycloud-network:
networks:
skycloud-network:
name: skycloud-network
ipam:
config:
- subnet: 10.10.10.0/24
volumes:
nextcloud:
nextcloud-data:
nextcloud-config:
nextcloud-custom_apps:
db:
document_data:
document_log: