-
-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (37 loc) · 833 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (37 loc) · 833 Bytes
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
version: "3"
services:
minio:
image: quay.io/minio/minio:RELEASE.2024-01-29T03-56-32Z
container_name: minio
ports:
- "9000:9000"
- "9001:9001"
volumes:
- minio-data:/data
logging:
driver: "json-file"
options:
max-size: "1k"
max-file: "3"
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: test123456
command: server /data --console-address ":9001"
image-resizer:
image: ghcr.io/appleboy/nginx-image-resizer:latest
container_name: image-resizer
ports:
- 8002:80
volumes:
- cache-data:/data
logging:
driver: "json-file"
options:
max-size: "1k"
max-file: "3"
environment:
IMAGE_HOST: http://minio:9000
NGINX_HOST: localhost
volumes:
minio-data:
cache-data: