Skip to content

Commit

Permalink
onyx
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaofeng1227 committed Feb 24, 2025
1 parent 3954b5c commit 3ece507
Show file tree
Hide file tree
Showing 10 changed files with 42 additions and 29 deletions.
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/rename_app.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: rename app
about: rename app
title: 'rename app from [old_app] to [new_app]'
labels: 'update,S-research'
assignees: ''
---

**Research and development steps your need to do**

- [ ] docker-library update
- [ ] contentful update
- [ ] docs update

22 changes: 0 additions & 22 deletions apps/danswer/variables.json

This file was deleted.

2 changes: 1 addition & 1 deletion apps/danswer/.env → apps/onyx/.env
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ W9_DIST=community
W9_POWER_PASSWORD=uQ8E1wVTzHH8SOk3!

#### -- Not allowed to edit below environments when recreate app based on existing data -- ####
W9_ID=danswer
W9_ID=onyx
W9_HTTP_PORT=80
W9_HTTP_PORT_SET=9001

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions apps/danswer/docker-compose.yml → apps/onyx/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# image: https://hub.docker.com/u/danswer
# compose file: https://github.com/danswer-ai/danswer/blob/main/deployment/docker_compose/docker-compose.prod.yml
# image: https://hub.docker.com/u/onyxdotapp
# compose file: https://github.com/onyx-dot-app/onyx/blob/main/deployment/docker_compose/docker-compose.prod.yml

version: '3.8'

services:
api_server:
image: danswer/danswer-backend:${W9_VERSION:-latest}
image: onyxdotapp/onyx-backend:${W9_VERSION:-latest}
container_name: $W9_ID-api-server
command: >
/bin/sh -c "alembic upgrade head && echo \"Starting Danswer Api Server\" && uvicorn danswer.main:app --host 0.0.0.0 --port 8080"
Expand All @@ -32,7 +32,7 @@ services:
max-file: "6"

background:
image: danswer/danswer-backend:${W9_VERSION:-latest}
image: onyxdotapp/onyx-backend:${W9_VERSION:-latest}
container_name: $W9_ID-background
command: /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf
depends_on:
Expand Down Expand Up @@ -60,7 +60,7 @@ services:
max-file: "6"

web_server:
image: danswer/danswer-web-server:${W9_VERSION:-latest}
image: onyxdotapp/onyx-web-server:${W9_VERSION:-latest}
container_name: $W9_ID-web-server
depends_on:
- api_server
Expand Down Expand Up @@ -113,7 +113,7 @@ services:
max-file: "6"

indexing_model_server:
image: danswer/danswer-model-server:${W9_VERSION:-latest}
image: onyxdotapp/onyx-model-server:${W9_VERSION:-latest}
container_name: $W9_ID-indexing-model-server
command: >
/bin/sh -c "if [ \"${DISABLE_MODEL_SERVER:-false}\" = \"True\" ]; then
Expand Down
File renamed without changes.
File renamed without changes.
21 changes: 21 additions & 0 deletions apps/onyx/variables.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "onyx",
"trademark": "Onyx",
"release": false,
"fork_url": "https://github.com/onyx-dot-app/onyx/blob/main/deployment/docker_compose",
"version_from": "https://hub.docker.com/r/onyxdotapp/onyx-backend/tags",
"edition": [
{
"dist": "community",
"version": [
"latest"
]
}
],
"requirements": {
"cpu": "4",
"memory": "10",
"disk": "50",
"url": "https://www.onyx.app/"
}
}

0 comments on commit 3ece507

Please sign in to comment.