mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
56 lines
1.4 KiB
YAML
56 lines
1.4 KiB
YAML
version: '3'
|
|
|
|
services:
|
|
minio:
|
|
image: minio/minio:RELEASE.2022-05-26T05-48-41Z
|
|
ports:
|
|
- "9000:9000"
|
|
- "9001:9001"
|
|
volumes:
|
|
- ./data:/data
|
|
environment:
|
|
MINIO_ROOT_USER: &MINIO_USER admin
|
|
MINIO_ROOT_PASSWORD: &MINIO_PASS password
|
|
command: server --console-address ":9001" /data
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
|
|
interval: 30s
|
|
timeout: 20s
|
|
retries: 3
|
|
|
|
# simulation_system_training:
|
|
# build:
|
|
# context: ./
|
|
# dockerfile: ./Dockerfiles/Dockerfile.training
|
|
# image: simulation_system_training
|
|
# environment:
|
|
# ENDPOINT_URL: http://minio:9000/
|
|
# AWS_ACCESS_KEY_ID: *MINIO_USER
|
|
# AWS_SECRET_ACCESS_KEY: *MINIO_PASS
|
|
# tty: true
|
|
# depends_on:
|
|
# minio:
|
|
# condition: service_healthy
|
|
# command:
|
|
# ["bash"]
|
|
|
|
# simulation_system_prediction:
|
|
# build:
|
|
# context: ./
|
|
# dockerfile: ./Dockerfiles/Dockerfile.prediction
|
|
# image: simulation_system_prediction
|
|
# environment:
|
|
# ENDPOINT_URL: http://minio:9000/
|
|
# AWS_ACCESS_KEY_ID: *MINIO_USER
|
|
# AWS_SECRET_ACCESS_KEY: *MINIO_PASS
|
|
# tty: true
|
|
# depends_on:
|
|
# simulation_system_training:
|
|
# condition: service_completed_successfully
|
|
# command:
|
|
# ["bash"]
|
|
|
|
|
|
|
|
# volumes:
|
|
# minio_storage: {}
|