-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfs-docker-compose.yml
More file actions
59 lines (58 loc) · 1.5 KB
/
Copy pathfs-docker-compose.yml
File metadata and controls
59 lines (58 loc) · 1.5 KB
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
version: '3'
services:
minio:
# image: minio/minio:RELEASE.2025-04-22T22-12-26Z
image: pgsty/minio:latest
restart: unless-stopped
deploy:
resources:
limits:
memory: 700M
env_file:
- /opt/configs/env/fs/minio.env
environment:
MINIO_API_OBJECT_MAX_VERSIONS: 10
# API configurations
MINIO_API_REQUESTS_MAX: 1000
MINIO_API_READ_TIMEOUT: 300s
MINIO_API_WRITE_TIMEOUT: 300s
# Healing configurations
MINIO_HEAL_INTERVAL: 1h
MINIO_HEAL_QUEUE_DELAY: 10s
# Compression settings
MINIO_COMPRESSION_ENABLE: "on"
MINIO_COMPRESSION_EXTENSIONS: ".txt,.log,.csv"
MINIO_COMPRESSION_MIME_TYPES: "text/*,application/json"
ports:
- 100.66.87.128:19000:9000
- 100.66.87.128:19001:9001
logging:
driver: "json-file"
options:
max-size: "10m"
ulimits:
nofile:
soft: 65536
hard: 65536
sysctls:
net.core.somaxconn: 65535
volumes:
- /var/lib/minio:/data
command: server /data --address :9000 --console-address ":9001"
nginx:
image: nginx:1.25
restart: unless-stopped
network_mode: host
dns:
- 1.1.1.1
- 8.8.8.8
logging:
driver: "json-file"
options:
max-size: "30m"
volumes:
- /var/www:/var/www
- /var/log:/var/log
- /var/lib/nginx/cache/s3:/var/lib/nginx/cache/s3
- /opt/configs/nginx/conf.d/fs:/etc/nginx/conf.d:ro
- /opt/configs/nginx:/opt/configs/nginx:ro