-
Notifications
You must be signed in to change notification settings - Fork 34
/
docker-compose.yml
55 lines (55 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
54
55
version: '3'
services:
app:
container_name: app-server
image: owncloud/server
stdin_open: true
tty: true
restart: always
expose:
- '80'
- '8080'
networks:
- onlyoffice
environment:
- OWNCLOUD_TRUSTED_DOMAINS=localhost,nginx-server
volumes:
- ./onlyoffice:/tmp/onlyoffice
- ./run.sh:/run.sh
command: bash /run.sh
onlyoffice-document-server:
container_name: onlyoffice-document-server
image: onlyoffice/documentserver:latest
stdin_open: true
tty: true
restart: always
networks:
- onlyoffice
environment:
- JWT_SECRET=secret
expose:
- '80'
- '443'
volumes:
- document_data:/var/www/onlyoffice/Data
- document_log:/var/log/onlyoffice
nginx:
container_name: nginx-server
image: nginx
stdin_open: true
tty: true
restart: always
ports:
- 80:80
- 443:443
networks:
- onlyoffice
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
networks:
onlyoffice:
driver: 'bridge'
volumes:
document_data:
document_log:
mysql_data: