This repository has been archived by the owner on Aug 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DO-43 🐳 ✨ Add docker-compose file with minio
- Loading branch information
Daniel Kravetz
committed
Jan 7, 2020
1 parent
af71072
commit b301a65
Showing
4 changed files
with
94 additions
and
1 deletion.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
version: "3.7" | ||
services: | ||
|
||
minio: | ||
image: minio/minio # Stable minio | ||
volumes: | ||
- minio-data:/data | ||
networks: | ||
- xain-fl | ||
environment: | ||
MINIO_ACCESS_KEY: minio | ||
MINIO_SECRET_KEY: minio123 | ||
command: server /data | ||
healthcheck: | ||
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"] | ||
interval: 30s | ||
timeout: 20s | ||
retries: 3 | ||
ports: | ||
- "9000:9000" | ||
|
||
xain-fl: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile.dev | ||
command: coordinator -f test_array.npy | ||
volumes: | ||
- '.:/app' | ||
# don't use the local egg-info, if one exists | ||
- '/app/xain_fl.egg-info' | ||
networks: | ||
- xain-fl | ||
ports: | ||
- "50051:50051" | ||
|
||
volumes: | ||
minio-data: | ||
|
||
networks: | ||
xain-fl: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
version: "3.7" | ||
services: | ||
|
||
minio: | ||
image: minio/minio # Stable minio | ||
volumes: | ||
- minio-data:/data | ||
networks: | ||
- xain-fl | ||
environment: | ||
MINIO_ACCESS_KEY: minio | ||
MINIO_SECRET_KEY: minio123 | ||
command: server /data | ||
healthcheck: | ||
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"] | ||
interval: 30s | ||
timeout: 20s | ||
retries: 3 | ||
expose: | ||
- "9000" | ||
|
||
xain-fl: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile | ||
networks: | ||
- xain-fl | ||
ports: | ||
- "50051:50051" | ||
|
||
volumes: | ||
minio-data: | ||
|
||
networks: | ||
xain-fl: |