Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minio #6

Merged
merged 3 commits into from
Dec 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .env.template
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
OPENAI_API_KEY=<your_key>
OTEL_EXPORTER_OTLP_ENDPOINT="http://localhost:4317"
PGVECTOR_DB="postgresql+psycopg2://postgres:postgres@localhost:5432/db"
PGVECTOR_DB="postgresql+psycopg2://postgres:postgres@localhost:5432/db"
S3_BUCKET=texttitan
S3_URL=localhost:9000
S3_ACCESS_KEY=<s3_username>
S3_SECRET_KEY=<s3_passwd>
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ db
.vscode/
.env
.venv/
minio/
!minio/.keepme
16 changes: 16 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,27 @@ services:
- db:/var/lib/postgresql/data
jaeger:
image: jaegertracing/all-in-one:1.51
restart: always
ports:
- "16686:16686"
- "4317:4317"
environment:
- LOG_LEVEL=debug
minio:
image: quay.io/minio/minio:RELEASE.2023-11-11T08-14-41Z
restart: always
ports:
- "9000:9000"
- "9090:9090"
command: server /data --console-address ":9090"
environment:
- "MINIO_ROOT_USER=root"
- "MINIO_ROOT_PASSWORD=password"
volumes:
- minio:/data

volumes:
db:
driver: local
minio:
driver: local
Empty file added minio/.keepme
Empty file.
362 changes: 236 additions & 126 deletions poetry.lock

Large diffs are not rendered by default.

Loading