-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
36 lines (36 loc) · 1.04 KB
/
docker-compose.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
version: '3.7'
services:
autostac:
build:
dockerfile: ./docker/Dockerfile
context: .
command: sh -c "sleep 3; autostac --s3"
environment:
AWS_S3_ENDPOINT: http://minio:9000
# S3_BUCKET - to create this bucket, make a dir within ./data
# mkdir -p ./data/bucket
# To catalog images, make subfolders within this dir e.g. ./data/bucket/images/myimage.tif
# this will add `myimage.tif` to an `images` collection.
S3_BUCKET: bucket
AWS_ACCESS_KEY_ID: minio
AWS_SECRET_ACCESS_KEY: minio123
AWS_VIRTUAL_HOSTING: "FALSE"
AWS_HTTPS: "FALSE"
ROCKET_ADDRESS: "0.0.0.0"
ports:
- "8000:8000"
minio:
image: minio/minio:RELEASE.2021-04-22T15-44-28Z
volumes:
- ./data:/data
ports:
- "9000:9000"
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: minio123
command: server /data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 30s
timeout: 20s
retries: 3