forked from jasonwhite/rudolfs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.minio.yml
63 lines (62 loc) · 1.45 KB
/
docker-compose.minio.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
# Copy this file to another location and modify as necessary.
version: "3"
services:
minio:
image: minio/minio:latest
ports:
- "9000:9000"
volumes:
- miniodata:/data
environment:
# force using given key-secret instead of creating at start
- MINIO_ROOT_USER=${AWS_ACCESS_KEY_ID}
- MINIO_ROOT_PASSWORD=${AWS_SECRET_ACCESS_KEY}
command: ["server", "/data"]
app:
image: jasonwhite0/rudolfs:latest
#build:
# context: .
# dockerfile: Dockerfile
ports:
- "8081:8080"
volumes:
- data:/data
restart: always
environment:
- AWS_REGION
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_DEFAULT_REGION
- LFS_ENCRYPTION_KEY
- LFS_S3_BUCKET
- LFS_MAX_CACHE_SIZE
- AWS_S3_ENDPOINT=http://minio:9000
entrypoint:
- /tini
- --
- /rudolfs
- --cache-dir
- /data
- --key
- ${LFS_ENCRYPTION_KEY}
- --max-cache-size
- ${LFS_MAX_CACHE_SIZE}
- s3
- --bucket
- ${LFS_S3_BUCKET}
links:
- minio
# A real production server should use nginx. How to configure this depends on
# your needs. Use your Google-search skills to configure this correctly.
#
# nginx:
# image: nginx:stable
# ports:
# - 80:80
# - 443:443
# volumes:
# - ./nginx.conf:/etc/nginx/nginx.conf
# - ./nginx/errors.log:/etc/nginx/errors.log
volumes:
data:
miniodata: