-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dockers for llm-app pipelines (#6711)
Co-authored-by: Olivier Ruas <olivier@pathway.com> GitOrigin-RevId: 0ed6ad276de863574c6837860a8374a2c4263189
- Loading branch information
1 parent
e88b3dd
commit fac310f
Showing
45 changed files
with
580 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM pathwaycom/pathway:latest | ||
WORKDIR /app | ||
COPY . . | ||
EXPOSE 8080 | ||
|
||
CMD ["python", "app.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
version: "3.8" | ||
services: | ||
pathway: | ||
build: | ||
context: . | ||
ports: | ||
- "8080:8080" | ||
environment: | ||
OPENAI_API_KEY: | ||
PATHWAY_PERSISTENT_STORAGE: | ||
volumes: | ||
- "./data:/app/data" | ||
streamlit_ui: | ||
depends_on: | ||
- pathway | ||
build: | ||
context: ./ui | ||
ports: | ||
- "8501:8501" | ||
environment: | ||
PATHWAY_REST_CONNECTOR_HOST: "pathway" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM python:3.11 | ||
|
||
WORKDIR /app | ||
|
||
RUN pip install streamlit python-dotenv | ||
|
||
COPY . . | ||
|
||
EXPOSE 8501 | ||
|
||
CMD ["streamlit", "run", "server.py", "--server.port", "8501", "--server.address", "0.0.0.0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM pathwaycom/pathway:latest | ||
WORKDIR /app | ||
COPY . . | ||
EXPOSE 8080 | ||
|
||
CMD ["python", "app.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
version: "3.8" | ||
services: | ||
pathway: | ||
build: | ||
context: . | ||
ports: | ||
- "8080:8080" | ||
environment: | ||
OPENAI_API_KEY: | ||
PATHWAY_PERSISTENT_STORAGE: | ||
volumes: | ||
- "./data:/app/data" | ||
streamlit_ui: | ||
depends_on: | ||
- pathway | ||
build: | ||
context: ./ui | ||
ports: | ||
- "8501:8501" | ||
environment: | ||
PATHWAY_REST_CONNECTOR_HOST: "pathway" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM python:3.11 | ||
|
||
WORKDIR /app | ||
|
||
RUN pip install streamlit python-dotenv | ||
|
||
COPY . . | ||
|
||
EXPOSE 8501 | ||
|
||
CMD ["streamlit", "run", "server.py", "--server.port", "8501", "--server.address", "0.0.0.0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM pathwaycom/pathway:latest | ||
WORKDIR /app | ||
COPY . . | ||
EXPOSE 8080 | ||
|
||
CMD ["python", "app.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
examples/pipelines/contextful_geometric/docker-compose.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
version: "3.8" | ||
services: | ||
pathway: | ||
build: | ||
context: . | ||
ports: | ||
- "8080:8080" | ||
environment: | ||
OPENAI_API_KEY: | ||
PATHWAY_PERSISTENT_STORAGE: | ||
volumes: | ||
- "./data:/app/data" | ||
streamlit_ui: | ||
depends_on: | ||
- pathway | ||
build: | ||
context: ./ui | ||
ports: | ||
- "8501:8501" | ||
environment: | ||
PATHWAY_REST_CONNECTOR_HOST: "pathway" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM python:3.11 | ||
|
||
WORKDIR /app | ||
|
||
RUN pip install streamlit python-dotenv | ||
|
||
COPY . . | ||
|
||
EXPOSE 8501 | ||
|
||
CMD ["streamlit", "run", "server.py", "--server.port", "8501", "--server.address", "0.0.0.0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.