Mirror of https://github.com/roostorg/osprey github.com/roostorg/osprey
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

add a minio container (#12)

authored by

Chenyu and committed by
GitHub
97e32f99 6b8ea467

+37 -7
+32 -7
docker-compose.yaml
··· 7 7 coordinator_var: {} 8 8 router_var: {} 9 9 druid_shared: {} 10 + minio_data: {} 10 11 11 12 services: 12 13 kafka: ··· 41 42 timeout: 5s 42 43 retries: 5 43 44 45 + minio: 46 + image: minio/minio:latest 47 + container_name: minio 48 + ports: 49 + - "9000:9000" # minio API 50 + - "9001:9001" # minio Console 51 + environment: 52 + MINIO_ROOT_USER: minioadmin 53 + MINIO_ROOT_PASSWORD: minioadmin123 54 + volumes: 55 + - minio_data:/data 56 + command: server --console-address ":9001" /data 57 + healthcheck: 58 + test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"] 59 + interval: 10s 60 + timeout: 5s 61 + retries: 3 62 + 63 + minio-bucket-init: 64 + image: minio/mc:latest 65 + depends_on: 66 + minio: 67 + condition: service_healthy 68 + entrypoint: ["/bin/sh", "/init-minio-bucket.sh"] 69 + volumes: 70 + - ./init-minio-bucket.sh:/init-minio-bucket.sh 71 + restart: "no" 72 + 44 73 kafka-topic-creator: 45 74 image: confluentinc/cp-kafka:7.4.0 46 75 depends_on: ··· 67 96 condition: service_healthy 68 97 bigtable_initializer: 69 98 condition: service_completed_successfully 99 + minio: 100 + condition: service_healthy 70 101 ports: 71 102 - "5001:5000" 72 103 command: ["osprey-worker"] ··· 164 195 gcloud beta emulators bigtable start --host-port=0.0.0.0:8361 --project=osprey-dev 165 196 " 166 197 healthcheck: 167 - test: 168 - [ 169 - "CMD", 170 - "bash", 171 - "-c", 172 - "pgrep -f cbtemulator > /dev/null || exit 1" 173 - ] 198 + test: ["CMD", "bash", "-c", "pgrep -f cbtemulator > /dev/null || exit 1"] 174 199 interval: 10s 175 200 timeout: 5s 176 201 retries: 5
+5
init-minio-bucket.sh
··· 1 + #!/bin/sh 2 + 3 + mc alias set myminio http://minio:9000 minioadmin minioadmin123 4 + mc mb --ignore-existing myminio/execution-output 5 + echo "Bucket 'execution-output' ready"