-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.development.yml
More file actions
50 lines (42 loc) · 1008 Bytes
/
docker-compose.development.yml
File metadata and controls
50 lines (42 loc) · 1008 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
41
42
43
44
45
46
47
48
version: '3'
services:
prism:
build:
context: .
volumes:
- '.:/prism'
ports:
- "8001:8000"
environment:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- S3_BUCKET
- S3_ENDPOINT_URL
- AWS_REGION
- TEST_IMAGE
env_file:
- .env
command: [ "uwsgi", "--ini", "prism.uwsgi.development.ini" ]
minio:
image: minio/minio
command: server /data --console-address ':40283'
ports:
- "9000:9000"
- "40283:40283"
env_file:
- .env
# volumes:
# - ./compose/volumes/minio-config:/root/.minio
# - ./compose/volumes/minio-data:/data
minioclient:
image: minio/mc
depends_on:
- minio
env_file:
- .env
volumes:
- ./compose/minio:/etc/minio
# - ./compose/volumes/minio-client-config:/root/.mc
entrypoint: /etc/minio/create_buckets.sh ${SECRETS_BUCKET} prism-test-source-mike prism-test-source-sara prism-test-thumbs-sara
volumes:
minio-data: