-
Notifications
You must be signed in to change notification settings - Fork 4
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
Feat/docker app #21
Open
wjohnsto
wants to merge
5
commits into
main
Choose a base branch
from
feat/docker-app
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Feat/docker app #21
Conversation
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
@wjohnsto the one error went away but now I get docker compose up
[+] Building 29.7s (13/13) FINISHED docker:desktop-linux
=> [app internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 522B 0.0s
=> [app internal] load metadata for docker.io/library/python:3.11-slim 0.9s
=> [app auth] library/python:pull token for registry-1.docker.io 0.0s
=> [app internal] load .dockerignore 0.0s
=> => transferring context: 186B 0.0s
=> [app 1/6] FROM docker.io/library/python:3.11-slim@sha256:154c8911c2c45b6b802a72c98388d9b13548548c5ec713af458e4ed0f908fcd3 0.0s
=> [app internal] load build context 4.1s
=> => transferring context: 7.06MB 4.0s
=> CACHED [app 2/6] RUN pip install "poetry==1.8" 0.0s
=> CACHED [app 3/6] WORKDIR /app 0.0s
=> [app 4/6] COPY poetry.lock pyproject.toml /app/ 0.0s
=> [app 5/6] RUN poetry install --no-interaction --no-ansi --no-root 15.6s
=> [app 6/6] COPY . . 5.5s
=> [app] exporting to image 3.5s
=> => exporting layers 3.5s
=> => writing image sha256:d89ee75bbcfea946dd39a0853b55d86ec979cf34286cfefa7a56e23aa0ed89e5 0.0s
=> => naming to docker.io/library/redis-rag-workbench-app 0.0s
=> [app] resolving provenance for metadata file 0.0s
[+] Running 3/2
✔ Network redis-rag-workbench_default Created 0.0s
✔ Container redis-rag-workbench-redis-1 Created 0.1s
✔ Container app Created 0.0s
Attaching to app, redis-1
redis-1 | 9:C 12 Nov 2024 19:22:28.001 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis-1 | 9:C 12 Nov 2024 19:22:28.001 * Redis version=7.3.241, bits=64, commit=00000000, modified=0, pid=9, just started
redis-1 | 9:C 12 Nov 2024 19:22:28.001 * Configuration loaded
redis-1 | 9:M 12 Nov 2024 19:22:28.001 * monotonic clock: POSIX clock_gettime
redis-1 | 9:M 12 Nov 2024 19:22:28.002 * Running mode=standalone, port=6379.
redis-1 | 9:M 12 Nov 2024 19:22:28.003 * Module 'RedisCompat' loaded from /opt/redis-stack/lib/rediscompat.so
redis-1 | 9:M 12 Nov 2024 19:22:28.012 * <search> Redis version found by RedisSearch : 7.3.241 - oss
redis-1 | 9:M 12 Nov 2024 19:22:28.013 * <search> RediSearch version 99.99.99 (Git=master-440d837)
redis-1 | 9:M 12 Nov 2024 19:22:28.013 * <search> Low level api version 1 initialized successfully
redis-1 | 9:M 12 Nov 2024 19:22:28.013 * <search> gc: ON, prefix min length: 2, min word length to stem: 4, prefix max expansions: 200, query timeout (ms): 500, timeout policy: return, cursor read size: 1000, cursor max idle (ms): 300000, max doctable size: 1000000, max number of search results: 10000,
redis-1 | 9:M 12 Nov 2024 19:22:28.013 * <search> Initialized thread pools!
redis-1 | 9:M 12 Nov 2024 19:22:28.014 * <search> Enabled role change notification
redis-1 | 9:M 12 Nov 2024 19:22:28.014 * <search> Cluster configuration: AUTO partitions, type: 0, coordinator timeout: 0ms
redis-1 | 9:M 12 Nov 2024 19:22:28.014 * <search> Register write commands
redis-1 | 9:M 12 Nov 2024 19:22:28.014 * Module 'search' loaded from /opt/redis-stack/lib/redisearch.so
redis-1 | 9:M 12 Nov 2024 19:22:28.017 * <timeseries> RedisTimeSeries version 999999, git_sha=60dc582683527bb1012689005d1222d94ae36353
redis-1 | 9:M 12 Nov 2024 19:22:28.017 * <timeseries> Redis version found by RedisTimeSeries : 7.3.241 - oss
redis-1 | 9:M 12 Nov 2024 19:22:28.017 * <timeseries> loaded default CHUNK_SIZE_BYTES policy: 4096
redis-1 | 9:M 12 Nov 2024 19:22:28.017 * <timeseries> loaded server DUPLICATE_POLICY: block
redis-1 | 9:M 12 Nov 2024 19:22:28.017 * <timeseries> loaded default IGNORE_MAX_TIME_DIFF: 0
redis-1 | 9:M 12 Nov 2024 19:22:28.017 * <timeseries> loaded default IGNORE_MAX_VAL_DIFF: 0.000000
redis-1 | 9:M 12 Nov 2024 19:22:28.017 * <timeseries> Setting default series ENCODING to: compressed
redis-1 | 9:M 12 Nov 2024 19:22:28.017 * <timeseries> Detected redis oss
redis-1 | 9:M 12 Nov 2024 19:22:28.017 * Module 'timeseries' loaded from /opt/redis-stack/lib/redistimeseries.so
redis-1 | 9:M 12 Nov 2024 19:22:28.021 * <ReJSON> Created new data type 'ReJSON-RL'
redis-1 | 9:M 12 Nov 2024 19:22:28.022 * <ReJSON> version: 999999 git sha: unknown branch: unknown
redis-1 | 9:M 12 Nov 2024 19:22:28.022 * <ReJSON> Exported RedisJSON_V1 API
redis-1 | 9:M 12 Nov 2024 19:22:28.022 * <ReJSON> Exported RedisJSON_V2 API
redis-1 | 9:M 12 Nov 2024 19:22:28.022 * <ReJSON> Exported RedisJSON_V3 API
redis-1 | 9:M 12 Nov 2024 19:22:28.022 * <ReJSON> Exported RedisJSON_V4 API
redis-1 | 9:M 12 Nov 2024 19:22:28.022 * <ReJSON> Exported RedisJSON_V5 API
redis-1 | 9:M 12 Nov 2024 19:22:28.022 * <ReJSON> Enabled diskless replication
redis-1 | 9:M 12 Nov 2024 19:22:28.022 * Module 'ReJSON' loaded from /opt/redis-stack/lib/rejson.so
redis-1 | 9:M 12 Nov 2024 19:22:28.022 * <search> Acquired RedisJSON_V5 API
redis-1 | 9:M 12 Nov 2024 19:22:28.025 * <bf> RedisBloom version 99.99.99 (Git=unknown)
redis-1 | 9:M 12 Nov 2024 19:22:28.025 * Module 'bf' loaded from /opt/redis-stack/lib/redisbloom.so
redis-1 | 9:M 12 Nov 2024 19:22:28.030 * <redisgears_2> Created new data type 'GearsType'
redis-1 | 9:M 12 Nov 2024 19:22:28.030 * <redisgears_2> Detected redis oss
redis-1 | 9:M 12 Nov 2024 19:22:28.031 # <redisgears_2> could not initialize RedisAI_InitError
redis-1 |
redis-1 | 9:M 12 Nov 2024 19:22:28.031 * <redisgears_2> Failed loading RedisAI API.
redis-1 | 9:M 12 Nov 2024 19:22:28.031 * <redisgears_2> RedisGears v99.99.99, sha='6430452bcf464d4182f0921eb2d0854adcb0c594', build_type='release', built_for='Linux-ubuntu22.04.aarch64', redis_version:'7.3.241', enterprise:'false'.
redis-1 | 9:M 12 Nov 2024 19:22:28.040 * <redisgears_2> Registered backend: js.
redis-1 | 9:M 12 Nov 2024 19:22:28.045 * Module 'redisgears_2' loaded from /opt/redis-stack/lib/redisgears.so
redis-1 | 9:M 12 Nov 2024 19:22:28.045 * Server initialized
redis-1 | 9:M 12 Nov 2024 19:22:28.046 * Ready to accept connections tcp
app | The virtual environment found in /app/.venv seems to be broken.
app | Recreating virtualenv redis-rag-workbench in /app/.venv
app | Command not found: uvicorn
app exited with code 0
app | Command not found: uvicorn
app | Command not found: uvicorn
app | Command not found: uvicorn
app | Command not found: uvicorn
app | Command not found: uvicorn
app | Command not found: uvicorn
app | Command not found: uvicorn
app | Command not found: uvicorn @rbs333 can you give this a try on your machine? |
Ah I bet we need to put And thinking on this more I should probably be more prescriptive in what volumes to include in the docker-compose file. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A cleaner PR for #20.
I pinned pandas to 2.1.3 as mentioned by @bsbodden. I'm not sure if this will fix your error or not, but I am not getting errors on my end so let me know.