File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ services:
4
4
build : .
5
5
depends_on :
6
6
- db
7
+ - s3
7
8
ports :
8
9
- " 3000:3000"
9
10
volumes :
@@ -13,6 +14,9 @@ services:
13
14
environment :
14
15
CRATESFYI_RUSTWIDE_WORKSPACE : /opt/docsrs/rustwide
15
16
CRATESFYI_DATABASE_URL : postgresql://cratesfyi:password@db
17
+ S3_ENDPOINT : http://s3:9000
18
+ AWS_ACCESS_KEY_ID : cratesfyi
19
+ AWS_SECRET_ACCESS_KEY : secret_key
16
20
env_file :
17
21
- .env
18
22
db :
@@ -22,6 +26,17 @@ services:
22
26
environment :
23
27
POSTGRES_USER : cratesfyi
24
28
POSTGRES_PASSWORD : password
29
+ s3 :
30
+ image : minio/minio
31
+ command : server /data
32
+ ports :
33
+ - " 9000:9000"
34
+ volumes :
35
+ - minio-data:/data
36
+ environment :
37
+ MINIO_ACCESS_KEY : cratesfyi
38
+ MINIO_SECRET_KEY : secret_key
25
39
volumes :
26
40
postgres-data : {}
41
+ minio-data : {}
27
42
cratesio-index : {}
You can’t perform that action at this time.
0 commit comments