-
Notifications
You must be signed in to change notification settings - Fork 1
/
b1-docker-compose.yml
500 lines (474 loc) · 12.4 KB
/
b1-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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
version: '3'
services:
derper:
image: ppcelery/derper:latest
restart: unless-stopped
environment:
ADDR: b1.laisky.com
logging:
driver: "json-file"
options:
max-size: "10m"
dns:
- 1.1.1.1
- 8.8.8.8
volumes:
- /opt/configs/swag/b1/etc/letsencrypt/live/laisky.com/fullchain.pem:/etc/live/b1.laisky.com.crt:ro
- /opt/configs/swag/b1/etc/letsencrypt/live/laisky.com/privkey.pem:/etc/live/b1.laisky.com.key:ro
ports:
- 3478:3478/udp
- 12444:12444
entrypoint: /app/derper -c=$HOME/derper.conf --hostname=b1.laisky.com -a :12444 -stun -certdir=/etc/live -certmode=manual
trojan-go:
image: ppcelery/trojan-go:latest
restart: unless-stopped
dns:
- 1.1.1.1
- 8.8.8.8
# network_mode: host
ports:
- 23443:23443
logging:
driver: "json-file"
options:
max-size: "10m"
volumes:
- /opt/configs/swag/b1/etc/letsencrypt/live/laisky.com/fullchain.pem:/etc/live/b1.laisky.com.crt:ro
- /opt/configs/swag/b1/etc/letsencrypt/live/laisky.com/privkey.pem:/etc/live/b1.laisky.com.key:ro
- /opt/configs/trojan-go/b1:/etc/torjan-go/config:ro
command: /etc/torjan-go/config/server.json
glider:
image: ppcelery/glider:latest
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "10m"
dns:
- 1.1.1.1
- 8.8.8.8
# network_mode: host
ports:
- "100.122.41.16:17776:17776"
- "100.122.41.16:17777:17777"
volumes:
- /opt/configs/glider/b1/glider.conf:/app/glider.conf:ro
glider-sg:
image: ppcelery/glider:latest
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "10m"
dns:
- 1.1.1.1
- 8.8.8.8
# network_mode: host
ports:
- "100.122.41.16:17779:17777"
volumes:
- /opt/configs/glider/b1/glider-sg.conf:/app/glider.conf:ro
glider-isp:
image: ppcelery/glider:latest
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "10m"
dns:
- 1.1.1.1
- 8.8.8.8
# network_mode: host
ports:
- "100.122.41.16:17780:17777"
volumes:
- /opt/configs/glider/b1/glider-isp.conf:/app/glider.conf:ro
# haproxy:
# image: haproxy:2.5.1-alpine
# restart: always
# dns:
# - 8.8.8.8
# - 1.1.1.1
# logging:
# driver: "json-file"
# options:
# max-size: "10m"
# network_mode: host
# volumes:
# - /opt/configs/haproxy/b1.cfg:/etc/haproxy/b1.cfg:ro
# command: -f /etc/haproxy/b1.cfg
glider-warp:
image: ppcelery/glider:latest
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "10m"
dns:
- 1.1.1.1
- 8.8.8.8
network_mode: host
# ports:
# - 100.122.41.16:17778:17778
volumes:
- /opt/configs/glider/b1/glider-warp.conf:/app/glider.conf:ro
# monitor:
# image: prom/node-exporter:latest
# container_name: node-exporter
# restart: unless-stopped
# volumes:
# - /proc:/host/proc:ro
# - /sys:/host/sys:ro
# - /:/rootfs:ro
# command:
# - '--path.procfs=/host/proc'
# - '--path.rootfs=/rootfs'
# - '--path.sysfs=/host/sys'
# - '--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)'
# ports:
# - 100.122.41.16:9100:9100
mongodb6:
image: mongo:6
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "10m"
ports:
- "100.122.41.16:27017:27017"
dns:
- 1.1.1.1
- 8.8.8.8
ulimits:
nproc: 65535
nofile: 65535
volumes:
- /var/lib/mongodb6:/data/db
command: mongod
--bind_ip 0.0.0.0
--storageEngine wiredTiger
--wiredTigerCacheSizeGB 3
--auth
dns:
image: axeleroy/dnsproxy:latest
logging:
driver: "json-file"
options:
max-size: "10m"
environment:
- ARGS=-u 8.8.8.8:53 -u 1.1.1.1:53 --cache
ports:
- 100.122.41.16:53:53/udp
# https://github.com/satishweb/docker-doh
doh:
image: satishweb/doh-server:v2.3.2-ubuntu
restart: unless-stopped
# network_mode: host
dns:
- 1.1.1.1
- 8.8.8.8
ports:
- 100.122.41.16:8053:8053
logging:
driver: "json-file"
options:
max-size: "10m"
environment:
DEBUG: "0"
# Upstream DNS server: proto:host:port
# We are using OpenDNS DNS servers as default,
# Here is the list of addresses: https://use.opendns.com/
UPSTREAM_DNS_SERVER: "udp:1.1.1.1:53"
DOH_HTTP_PREFIX: "/query"
DOH_SERVER_LISTEN: "0.0.0.0:8053"
DOH_SERVER_TIMEOUT: "10"
DOH_SERVER_TRIES: "3"
DOH_SERVER_VERBOSE: "true"
# ramjet:
# image: ppcelery/ramjet:latest
# restart: always
# deploy:
# replicas: 1
# ports:
# - 100.122.41.16:22280:37851
# dns:
# - 8.8.8.8
# - 1.1.1.1
# logging:
# driver: "json-file"
# options:
# max-size: "30m"
# volumes:
# - /opt/configs/ramjet/prd.py:/app/ramjet/settings/prd.py:ro
# # - /home/laisky/data/langchain/index:/var/lib/openai/index
# - /home/laisky/data/langchain/index-azure:/var/lib/openai/index
# # environment:
# # - http_proxy=http://100.122.41.16:17777
# # - https_proxy=http://100.122.41.16:17777
# # - HTTP_PROXY=http://100.122.41.16:17777
# # - HTTPS_PROXY=http://100.122.41.16:17777
# # - NO_PROXY=localhost,127.0.0.1,100.64.0.0/10,192.168.0.0/16,10.0.0.0/8,127.0.0.0/8,snake-carp.ts.net,basebit.me
# command: python -m ramjet -t gptchat --debug
oneapi:
#image: ppcelery/one-api:82b2f2c
image: ppcelery/one-api:latest
restart: unless-stopped
dns:
- 1.1.1.1
- 8.8.8.8
logging:
driver: "json-file"
options:
max-size: "10m"
env_file:
- /opt/configs/env/b1/oneapi.env
environment:
- IDLE_TIMEOUT=10
- GLOBAL_API_RATE_LIMIT=1000
- GLOBAL_WEB_RATE_LIMIT=1000
- FRONTEND_BASE_URL=https://oneapi.laisky.com
- LLM_CONSERVATION_AUDIT=https://chat.laisky.com/audit/conservation
volumes:
- /var/lib/oneapi:/data
ports:
- 100.122.41.16:33000:3000
# chatgpt:
# image: yidadaa/chatgpt-next-web:latest
# restart: unless-stopped
# dns:
# - 8.8.8.8
# - 1.1.1.1
# logging:
# driver: "json-file"
# options:
# max-size: "10m"
# environment:
# - BASE_URL=https://chatgpt.laisky.com
# ports:
# - 100.122.41.16:33001:3000
swag:
image: lscr.io/linuxserver/swag:latest
container_name: swag
restart: unless-stopped
cap_add:
- NET_ADMIN
environment:
- PUID=1000
- PGID=1000
- TZ=UTC
- URL=laisky.com
- VALIDATION=dns
- SUBDOMAINS=wildcard
- EXTRA_DOMAINS=*.argw.laisky.com
- DNSPLUGIN=cloudflare
volumes:
# - /var/log/nginx:/var/log/nginx
- /opt/configs/swag/b1:/config
# - /opt/configs/nginx/conf.d/b1:/config/nginx/site-confs
dns:
- 1.1.1.1
- 8.8.8.8
# ports:
# - 443:443
# - 80:80
graphql:
image: ppcelery/laisky-blog-graphql:latest
restart: unless-stopped
dns:
- 1.1.1.1
- 8.8.8.8
volumes:
- /opt/configs/laisky-blog-graphql:/etc/laisky-blog-graphql:ro
- /opt/configs/arweave:/opt/configs/arweave:ro
environment:
GOOGLE_APPLICATION_CREDENTIALS: "/etc/laisky-blog-graphql/gcp-general-sa.json"
logging:
driver: "json-file"
options:
max-size: "10m"
ports:
- 100.122.41.16:17800:17800
command: api --listen=0.0.0.0:17800
--config=/etc/laisky-blog-graphql/settings.yml
--log-level=debug
-t telegram
nginx:
image: nginx:1.25
restart: unless-stopped
network_mode: host
# ports:
# # - 100.122.41.16:443:443
# - 443:443
# # - 80:80
dns:
- 1.1.1.1
- 8.8.8.8
logging:
driver: "json-file"
options:
max-size: "10m"
volumes:
- /var/www:/var/www
- /var/log:/var/log
- /var/lib/nginx/cache/s3:/var/lib/nginx/cache/s3
- /opt/configs/nginx/conf.d/b1:/etc/nginx/conf.d:ro
- /opt/configs/nginx:/opt/configs/nginx:ro
- /opt/configs/swag/b1/etc/letsencrypt/live/laisky.com/fullchain.pem:/opt/configs/swag/b1/etc/letsencrypt/live/laisky.com/fullchain.pem:ro
- /opt/configs/swag/b1/etc/letsencrypt/live/laisky.com/privkey.pem:/opt/configs/swag/b1/etc/letsencrypt/live/laisky.com/privkey.pem:ro
pccs:
image: ppcelery/pccs:v2.2
# build:
# context: ./pccs
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "10m"
ports:
- 100.122.41.16:8081:8081
dns:
- 1.1.1.1
- 8.8.8.8
volumes:
- /opt/configs/intel/pccs/default.json:/opt/intel/pccs/config/default.json:ro
- /opt/configs/intel/pccs/ssl_key:/opt/intel/pccs/ssl_key
# blog:
# image: ppcelery/laisky-blog:latest
# restart: unless-stopped
# logging:
# driver: "json-file"
# options:
# max-size: "10m"
# ports:
# - "100.122.41.16:27850:27850"
# dns:
# - 1.1.1.1
# - 8.8.8.8
# volumes:
# - /opt/configs/laisky-blog/settings.py:/www/gargantua/gargantua/settings/settings.py:ro
# command: /usr/local/bin/run_gargantua
blog-v2:
image: ppcelery/laisky-blog-v2:latest
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "10m"
ports:
- "100.122.41.16:27080:80"
dns:
- 1.1.1.1
- 8.8.8.8
go-ramjet:
# image: ppcelery/go-ramjet:89601e7
image: ppcelery/go-ramjet:latest
restart: "always"
init: true # to prevent zombie processes of Chrome
logging:
driver: "json-file"
options:
max-size: "10m"
environment:
- DISABLE_LLM_CONSERVATION_AUDIO=true
volumes:
- /opt/configs/go-ramjet/settings.yml:/etc/go-ramjet/settings.yml:ro
dns:
- 1.1.1.1
- 8.8.8.8
ports:
- 100.122.41.16:24456:24456
command: -t heartbeat,gptchat,arweave,jav -c /etc/go-ramjet/settings.yml --debug
wiki:
image: ppcelery/wiki:latest
restart: "always"
logging:
driver: "json-file"
options:
max-size: "10m"
dns:
- 1.1.1.1
- 8.8.8.8
ports:
- 100.122.41.16:21313:1313
hysteria:
image: tobyxdd/hysteria
restart: "always"
logging:
driver: "json-file"
options:
max-size: "10m"
dns:
- 1.1.1.1
- 8.8.8.8
network_mode: host
# ports:
# - 28998:8998/udp
volumes:
- /opt/configs/swag/b1/etc/letsencrypt:/etc/letsencrypt:ro
- /opt/configs/hysteria/b1/server.yaml:/etc/hysteria/server.yaml:ro
command: ["server", "-c", "/etc/hysteria/server.yaml"]
# pki:
# image: ppcelery/pki
# restart: "always"
# logging:
# driver: "json-file"
# options:
# max-size: "10m"
# dns:
# - 1.1.1.1
# - 8.8.8.8
# ports:
# - 23333:23333
# - 23334:23334
# - 23335:23335
# volumes:
# - /opt/configs/basebit/pki-server.json:/etc/pki/server.json
# command: ["-c", "/etc/pki/server.json", "--debug"]
# stirling-pdf:
# image: frooodle/s-pdf:latest
# restart: "always"
# logging:
# driver: "json-file"
# options:
# max-size: "10m"
# dns:
# - 1.1.1.1
# - 8.8.8.8
# ports:
# - '100.122.41.16:22080:8080'
# volumes:
# - /var/lib/stirling-pdf/trainingData:/usr/share/tessdata #Required for extra OCR languages
# - /opt/configs/stirling-pdf:/configs
# - /var/lib/stirling-pdf/customFiles:/customFiles/
# - /var/lib/stirling-pdf/logs:/logs/
# environment:
# - DOCKER_ENABLE_SECURITY=false
# - INSTALL_BOOK_AND_ADVANCED_HTML_OPS=false
proxy_bbt:
image: ppcelery/tinyproxy:latest
restart: unless-stopped
dns:
- 1.1.1.1
- 8.8.8.8
logging:
driver: "json-file"
options:
max-size: "10m"
environment:
- 'ALLOWED_NETWORKS=0.0.0.0/0'
- TIMEOUT=600
env_file:
- /opt/configs/tinyproxy/auth.env
ports:
- 23491:8888
channel_boardcast:
image: ppcelery/boardcastchannel:latest
restart: unless-stopped
env_file:
- /opt/configs/env/b1/broadcastchannel.env
ports:
- 100.122.41.16:14321:4321
logging:
driver: "json-file"
options:
max-size: "10m"