Updated documentation to reflect current status, fixed broken Dockerfile and Docker configuration, updated to python3.13
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
FROM ubuntu:24.04 AS ubuntu
|
||||
FROM ubuntu:25.10 AS ubuntu
|
||||
WORKDIR /app
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y python3.12 python3.12-venv python3.12-dev dotnet-sdk-8.0
|
||||
RUN apt-get install -y python3.13 python3.13-venv python3.13-dev dotnet-sdk-10.0
|
||||
RUN apt-get clean
|
||||
COPY . /src/
|
||||
ENV ASPNETCORE_ENVIRONMENT Docker
|
||||
|
||||
@@ -80,8 +80,6 @@ else
|
||||
app.UseMiddleware<Shared.ApiKeyMiddleware>();
|
||||
}
|
||||
|
||||
// app.UseHttpsRedirection();
|
||||
|
||||
app.MapControllers();
|
||||
|
||||
app.Run();
|
||||
|
||||
@@ -21,7 +21,8 @@
|
||||
"ApiKeys": ["xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"],
|
||||
"Server": {
|
||||
"BaseUri": "http://localhost:5146",
|
||||
"ApiKey": "yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy"
|
||||
}
|
||||
"ApiKey": "APIKeyForTheServer"
|
||||
},
|
||||
"PythonRuntime": "libpython3.13.so"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,26 +5,8 @@
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
},
|
||||
"Kestrel":{
|
||||
"Endpoints": {
|
||||
"http":{
|
||||
"Url": "http://0.0.0.0:5120"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Embeddingsearch": {
|
||||
"BaseUri": "http://172.17.0.1:5146",
|
||||
"ApiKeys": ["b54ea868-496e-11f0-9cc7-f79f06b160e5", "bbdeedf0-496e-11f0-9744-97e28c221f67"]
|
||||
},
|
||||
"EmbeddingsearchIndexer": {
|
||||
"Elmah": {
|
||||
"AllowedHosts": [
|
||||
"127.0.0.1",
|
||||
"::1",
|
||||
"172.17.0.1"
|
||||
]
|
||||
},
|
||||
"Worker":
|
||||
"Indexer": {
|
||||
"Workers":
|
||||
[
|
||||
{
|
||||
"Name": "pythonExample",
|
||||
@@ -36,6 +18,12 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
],
|
||||
"ApiKeys": ["APIKeyOfYourChoice", "AnotherOneIfYouLike"],
|
||||
"Server": {
|
||||
"BaseUri": "http://172.17.0.1:5146",
|
||||
"ApiKey": "APIKeyForTheServer"
|
||||
},
|
||||
"PythonRuntime": "libpython3.13.so"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user