diff --git a/tembo-stacks/Cargo.lock b/tembo-stacks/Cargo.lock index cc59c892f..2ee703117 100644 --- a/tembo-stacks/Cargo.lock +++ b/tembo-stacks/Cargo.lock @@ -2471,7 +2471,7 @@ dependencies = [ [[package]] name = "tembo-stacks" -version = "0.18.5" +version = "0.19.0" dependencies = [ "anyhow", "clap", diff --git a/tembo-stacks/Cargo.toml b/tembo-stacks/Cargo.toml index 629ba9a06..751065e38 100644 --- a/tembo-stacks/Cargo.toml +++ b/tembo-stacks/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "tembo-stacks" description = "Tembo Stacks for Postgres" -version = "0.18.5" +version = "0.19.0" authors = ["tembo.io"] edition = "2021" license = "Apache-2.0" diff --git a/tembo-stacks/src/apps/ai.yaml b/tembo-stacks/src/apps/ai.yaml index 51f5787a7..5533c8718 100644 --- a/tembo-stacks/src/apps/ai.yaml +++ b/tembo-stacks/src/apps/ai.yaml @@ -2,6 +2,16 @@ name: !ai-proxy appServices: - image: quay.io/tembo/ai-proxy:2024.06.03 name: ai-proxy + routing: + - port: 8080 + ingressPath: /ai + middlewares: + - strip-ai-path-prefix + middlewares: + - !stripPrefix + name: strip-ai-path-prefix + config: + - /ai resources: limits: cpu: 100m @@ -9,8 +19,6 @@ appServices: requests: cpu: 10m memory: 150Mi - routing: - - port: 8080 storage: volumeMounts: - mountPath: /etc/nginx/conf.d diff --git a/tembo-stacks/src/stacks/specs/rag.yaml b/tembo-stacks/src/stacks/specs/rag.yaml index ec0befbcf..85baeab19 100644 --- a/tembo-stacks/src/stacks/specs/rag.yaml +++ b/tembo-stacks/src/stacks/specs/rag.yaml @@ -10,6 +10,16 @@ stack_version: 0.1.0 appServices: - image: quay.io/tembo/ai-proxy:2024.06.03 name: ai-proxy + routing: + - port: 8080 + ingressPath: /ai + middlewares: + - strip-ai-path-prefix + middlewares: + - !stripPrefix + name: strip-ai-path-prefix + config: + - /ai resources: limits: cpu: 100m @@ -17,8 +27,6 @@ appServices: requests: cpu: 10m memory: 150Mi - routing: - - port: 8080 storage: volumeMounts: - mountPath: /etc/nginx/conf.d