-
Notifications
You must be signed in to change notification settings - Fork 100
Expand file tree
/
Copy pathdocker-compose_s3.yml
More file actions
70 lines (63 loc) · 1.78 KB
/
docker-compose_s3.yml
File metadata and controls
70 lines (63 loc) · 1.78 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
60
61
62
63
64
65
66
67
68
69
70
# Docker Compose override for S3-compatible object storage mode.
# Layers on top of docker-compose.yml. Do not use directly.
# Usage via justfile: just storage=s3 dev
services:
chris:
environment:
STORAGE_ENV: "s3"
AWS_REQUEST_CHECKSUM_CALCULATION: "when_required"
AWS_RESPONSE_CHECKSUM_VALIDATION: "when_required"
depends_on:
s3-service:
condition: service_started
worker-mains:
environment:
STORAGE_ENV: "s3"
AWS_REQUEST_CHECKSUM_CALCULATION: "when_required"
AWS_RESPONSE_CHECKSUM_VALIDATION: "when_required"
depends_on:
s3-service:
condition: service_started
worker-periodic:
environment:
STORAGE_ENV: "s3"
AWS_REQUEST_CHECKSUM_CALCULATION: "when_required"
AWS_RESPONSE_CHECKSUM_VALIDATION: "when_required"
depends_on:
s3-service:
condition: service_started
celery-scheduler:
environment:
STORAGE_ENV: "s3"
AWS_REQUEST_CHECKSUM_CALCULATION: "when_required"
AWS_RESPONSE_CHECKSUM_VALIDATION: "when_required"
depends_on:
s3-service:
condition: service_started
pfcon:
environment:
STORAGE_ENV: "s3"
PFCON_OP_IMAGE: "ghcr.io/fnndsc/pfconopjob-s3"
S3_ENDPOINT_URL: "http://s3-service:9000"
S3_ACCESS_KEY: "minioadmin"
S3_SECRET_KEY: "minioadmin"
S3_BUCKET_NAME: "users"
S3_REGION_NAME: "us-east-1"
depends_on:
s3-service:
condition: service_started
s3-service:
image: docker.io/minio/minio:latest
command: server /data --console-address ":9001"
volumes:
- s3_storage:/data
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
ports:
- "9000:9000"
- "9001:9001"
networks:
- local
volumes:
s3_storage: