-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
📦 NEW: Added API endpoints for querying and Docker image
- Loading branch information
Showing
6 changed files
with
153 additions
and
58 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
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,22 @@ | ||
# syntax=docker/dockerfile:1 | ||
|
||
# Dockerfile.api | ||
ARG BASE_IMAGE="ghcr.io/bearlike/meeseeks-base:latest" | ||
FROM $BASE_IMAGE | ||
|
||
ARG TITLE="Meeseeks API: Personal Assistant" | ||
|
||
LABEL title=$TITLE | ||
|
||
# Install the meeseeks-api dependencies | ||
WORKDIR /app/meeseeks-api | ||
RUN poetry install | ||
|
||
# Set API specific environment variable | ||
ENV MASTER_API_TOKEN='msk-strong-password' | ||
|
||
# Expose port 5123 for the API | ||
EXPOSE 5123 | ||
|
||
# Run the API application | ||
ENTRYPOINT ["poetry", "run", "python", "backend.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,22 @@ | ||
# syntax=docker/dockerfile:1 | ||
|
||
# Dockerfile.chat | ||
ARG BASE_IMAGE="ghcr.io/bearlike/meeseeks-base:latest" | ||
FROM $BASE_IMAGE | ||
|
||
ARG TITLE="Meeseeks Chat: Personal Assistant" | ||
|
||
LABEL title=$TITLE | ||
|
||
# Install the meeseeks-chat dependencies | ||
WORKDIR /app/meeseeks-chat | ||
RUN poetry install | ||
|
||
# Expose port 8502 for Streamlit | ||
EXPOSE 8502 | ||
|
||
# Healthcheck to ensure the Streamlit server is running | ||
HEALTHCHECK CMD curl --fail http://localhost:8502/_stcore/health | ||
|
||
# Run the Streamlit application | ||
ENTRYPOINT ["poetry", "run", "python", "-m", "streamlit", "run", "chat_master.py", "--server.port=8502", "--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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# meeseeks-api | ||
|
||
REST API Engine wrapped around the meeseeks-core | ||
- REST API Engine wrapped around the meeseeks-core. | ||
- No components are explicitly tested for safety or security. Use with caution in a production environment. | ||
|
||
[Link to GitHub Repository](https://github.com/bearlike/Personal-Assistant/edit/main/README.md) |
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