-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yml
122 lines (112 loc) · 3.19 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
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
117
118
119
120
121
122
version: '3'
services:
db:
image: mariadb/server:10.3
restart: always
container_name: officeaanglist-db
environment:
MYSQL_ROOT_PASSWORD: 123456789
MYSQL_DATABASE: officeaanglist
MYSQL_USER: officeaanglist
MYSQL_PASSWORD: 123456789
volumes:
- /path/to/officeaanglist/db:/var/lib/mysql
networks:
- officeaanglist
redis:
image: redis:7.2.1-alpine3.18
container_name: officeaanglist-redis
restart: always
command: redis-server /etc/redis/redis.conf --appendonly yes --requirepass 115099
volumes:
- /path/to/officeaanglist/redis/redis.conf:/etc/redis/redis.conf
- /path/to/officeaanglist/redis/data:/data
networks:
- officeaanglist
logging:
options:
max-size: "100m"
max-file: "2"
# phpmyadmin:
# image: phpmyadmin
# restart: always
# container_name: phpmyadminOffic
# ports:
# - "8051:80"
# environment:
# PMA_HOST: db
# MYSQL_ROOT_PASSWORD: $db_r
# networks:
# - officeaanglist
qbittorrent-nox:
image: qbittorrentofficial/qbittorrent-nox:latest
container_name: qbittorrent-nox
tmpfs:
- /tmp
environment:
- QBT_EULA=y
- QBT_WEBUI_PORT=6901
ports:
- "6901:6901/tcp"
- "6881:6881/tcp"
- "6881:6881/udp"
volumes:
- "/path/to/qbittorrent/config:/config"
- "/path/to/downloads/qbittorrent:/downloads/qbittorrent"
networks:
- officeaanglist
onlyoffice:
image: homuras/officeaanglist:v0.3.1
#build: .
container_name: officeaanglist
restart: always
privileged: true
#network_mode: "bridge"
# dns:
# - 192.168.0.37
ports:
- "8088:80"
- "83:443"
environment:
- JWT_ENABLEN=false
- PUID=1000
- PGID=1000
- TZ=Asia/Shanghai
- DB_TYPE=mariadb
- DB_HOST=db
- DB_PORT=3306
- DB_NAME=officeaanglist
- DB_USER=officeaanglist
- DB_PWD=123456789
- REDIS_SERVER_HOST=redis
- REDIS_SERVER_PORT=6379
- REDIS_PASSWORD=115099
- DOMAIN=https://office.example.com:port #是否使用反向代理,如果使用反向代理,
#请填写https://****.com,并映射/ssl,证书文件应当是fullchain.pem和privkey.pem
#例:http://192.168.5.10:8088
#- AListHost= 使用外部alist 可以试试填地址或者域名,仅支持3.20.0以下版本
- AListdb_ty=mysql
- AListdb_host=db
- AListdb_port=3306
- AListdb_us=officeaanglist
- AListdb_pw=123456789
- AListdb_name=officeaanglist
- qbit_host=qbittorrent-nox
- aria2Csecret=QQ943384135 #aria2c的密钥建议更改!
depends_on:
- db
- redis
volumes:
- /path/to/officeaanglist/logs:/var/log/onlyoffice
- /path/to/officeaanglist/app:/var/www/app:rw
- /path/to/AList:/AList
- /path/to/downloads/aria2:/downloads/aria2
- /path/to/officeaanglist/lib:/var/lib/onlyoffice
#- /volume1/docker/onlyoffice/db:/var/lib/postgresql
- /path/to/officeaanglist/conf.d:/etc/nginx/conf.d
#- /path/to/ssl:/ssl
networks:
- officeaanglist
networks:
officeaanglist:
name: officeaanglist