Skip to content

Commit

Permalink
chore: docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Wen-ace committed Mar 21, 2024
1 parent 574eee8 commit 93634b6
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,21 @@ services:
- ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/minio:/minio_data
command: minio server /minio_data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
test:
[
"CMD",
"curl",
"-f",
"http://localhost:9000/minio/health/live"
]
interval: 30s
timeout: 20s
retries: 3

standalone:
container_name: milvus-standalone
image: milvusdb/milvus:v2.0.2
command: ["milvus", "run", "standalone"]
command: [ "milvus", "run", "standalone" ]
environment:
ETCD_ENDPOINTS: etcd:2379
MINIO_ADDRESS: minio:9000
Expand All @@ -122,5 +128,14 @@ services:
- "etcd"
- "minio"

frontend:
image: ghcr.io/rebel:latest
container_name: frontend
restart: always
expose:
- 80
ports:
- 80:80

volumes:
postgresql_db_data:

0 comments on commit 93634b6

Please sign in to comment.