You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed the issue where the WebApp URL was incorrect and the problem where the model and tools icons weren’t showing up after starting from Docker Compose with default .env.
🎉 Upgrade to new docker compose deployment
Key Changes
Persistent Custom Environment Variables: Users can now declare environment variables in .env that remain persistent across deployments. This change ensures that custom configurations are not lost during upgrades or redeployments.
Unified Vector Database Services: All vector database services have been consolidated into a single Docker file. Users can switch between different vector databases by modifying the VECTOR_STORE environment variable in your local .env. This simplifies the management of various vdb services and allows for more dynamic deployments.
Mandatory .env File: Unlike the previous deployment method, the new method requires an [.env] file before running docker compose up. Users should start by copying the .env.example file to create their own .env file. This step is crucial for configuring the deployment to meet specific needs.
Legacy Support: The previous deployment files have been moved to a docker-legacy directory. These files will no longer be maintained, but they are available for use if needed.
Migrating
For existing users who's customized docker-compose.yaml, ssrf_proxy/squid.conf or nginx/conf.d/default.conf, you may need to modify the corresponding environment variables in .env to reflect your existing changes.
We are actively seeking feedback from the community to refine and enhance the deployment process. As more users adopt this new method, we will continue to make improvements based on your experiences and suggestions.
How to Get Started
To get started with the new deployment method:
Ensure you have Docker and Docker Compose installed on your system.
Navigate to the new docker directory.
Copy the docker/.env.example file to a new file named .env and customize it as needed.
Run docker compose up to start the services.
We encourage all users to transition to this new method to take advantage of the improved flexibility and configuration options. Your feedback during this beta phase is invaluable and will help us make the deployment process even better.
For detailed configuration options and environment variable settings, refer to the .env.example file and the Docker Compose configuration files in the docker directory.
Upgrade Guide
Docker compose deployments
Warning
The docker-compose.yaml has been refactored. If you've made any changes to the file, make sure to check out the "Upgrade to new docker compose deployment" section above for usage and migration tips.
Back up your customized docker-compose YAML file (optional)
cd docker
cp docker-compose.yaml docker-compose.yaml.$(date +%s).bak
Get the latest code from the main branch
git checkout main
git pull origin main
Stop the service,Command, please execute in the docker directory
docker compose down
Back up data
tar -cvf volumes-$(date +%s).tgz volumes
Upgrade services
docker compose up -d
Source Code deployments
Stop API server, Worker and Web frontend Server.
Get the latest code from the main branch:
git checkout main
git pull origin main
Update Python dependencies:
cd api
poetry install
Then, let's run the migration script:
poetry shell
flask db upgrade
Finally, run API server, Worker and Web frontend Server again.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
🛠️ v0.6.12-fix1
Warning
Fixed the issue where the WebApp URL was incorrect and the problem where the model and tools icons weren’t showing up after starting from Docker Compose with default
.env
.🎉 Upgrade to new docker compose deployment
Key Changes
Persistent Custom Environment Variables: Users can now declare environment variables in .env that remain persistent across deployments. This change ensures that custom configurations are not lost during upgrades or redeployments.
Unified Vector Database Services: All vector database services have been consolidated into a single Docker file. Users can switch between different vector databases by modifying the
VECTOR_STORE
environment variable in your local.env
. This simplifies the management of various vdb services and allows for more dynamic deployments.Mandatory .env File: Unlike the previous deployment method, the new method requires an [.env] file before running
docker compose up
. Users should start by copying the.env.example
file to create their own.env
file. This step is crucial for configuring the deployment to meet specific needs.Legacy Support: The previous deployment files have been moved to a
docker-legacy
directory. These files will no longer be maintained, but they are available for use if needed.Migrating
For existing users who's customized
docker-compose.yaml
,ssrf_proxy/squid.conf
ornginx/conf.d/default.conf
, you may need to modify the corresponding environment variables in.env
to reflect your existing changes.We are actively seeking feedback from the community to refine and enhance the deployment process. As more users adopt this new method, we will continue to make improvements based on your experiences and suggestions.
How to Get Started
To get started with the new deployment method:
docker
directory.docker/.env.example
file to a new file named.env
and customize it as needed.docker compose up
to start the services.We encourage all users to transition to this new method to take advantage of the improved flexibility and configuration options. Your feedback during this beta phase is invaluable and will help us make the deployment process even better.
For detailed configuration options and environment variable settings, refer to the
.env.example
file and the Docker Compose configuration files in the docker directory.Upgrade Guide
Docker compose deployments
Warning
The
docker-compose.yaml
has been refactored. If you've made any changes to the file, make sure to check out the "Upgrade to new docker compose deployment" section above for usage and migration tips.Back up your customized docker-compose YAML file (optional)
Get the latest code from the main branch
Stop the service,Command, please execute in the docker directory
Back up data
tar -cvf volumes-$(date +%s).tgz volumes
Upgrade services
Source Code deployments
Stop API server, Worker and Web frontend Server.
Get the latest code from the main branch:
Update Python dependencies:
cd api poetry install
Then, let's run the migration script:
Finally, run API server, Worker and Web frontend Server again.
What's Changed
Full Changelog: 0.6.12...0.6.12-fix1
This discussion was created from the release v0.6.12-fix1.
Beta Was this translation helpful? Give feedback.
All reactions