mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-16 06:53:47 +00:00
docker compose commands
This commit is contained in:
parent
bd0622ef10
commit
8cd7e406c0
9 changed files with 129 additions and 0 deletions
18
docker/pgvector/compose.yaml
Normal file
18
docker/pgvector/compose.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
services:
|
||||
postgres:
|
||||
build:
|
||||
context: ./postgres
|
||||
dockerfile: postgres.Dockerfile
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
- ./postgres/vector_extension.sql:/docker-entrypoint-initdb.d/0-vector_extension.sql
|
||||
# - ./postgres/0-vector-extension.sh:/docker-entrypoint-initdb.d/0-vector-extension.sh
|
||||
|
||||
environment:
|
||||
- POSTGRES_USER=postgres
|
||||
- POSTGRES_PASSWORD=postgres
|
||||
- POSTGRES_DB=vectorexample
|
||||
volumes:
|
||||
postgres_data:
|
Loading…
Add table
Add a link
Reference in a new issue