Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
10 changes: 10 additions & 0 deletions docker/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.git
__pycache__/
*.pyc
*.pyo
*.pyd
*.db
*.log
venv/
.env
docker/
File renamed without changes.
9 changes: 5 additions & 4 deletions docker-compose.yml → docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@ services:
streamlit:
hostname: streamlit
container_name: streamlit
build: .
build:
context: ..
dockerfile: docker/Dockerfile
ports:
- "8501:8501"
volumes:
- .:/app
- ../:/app
env_file:
- .env
- ../.env
environment:
- STREAMLIT_SERVER_PORT=8501
- DATABASE_URL=postgresql://pgvector:pgvector@pgvector:5432/streamlit
Expand All @@ -27,7 +29,6 @@ services:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
- ./postgres/schema.sql:/docker-entrypoint-initdb.d/schema.sql

volumes:
pgdata: