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
Copy file name to clipboardExpand all lines: deployment/docker_compose/README.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@ To set up Onyx there are several options, Onyx supports the following for deploy
6
6
- Note, don't forget to copy over the env.template file to .env and edit the necessary values
7
7
3. For large scale deployments leveraging Kubernetes, there are two options, Helm or Terraform.
8
8
9
+
This README focuses on the easiest guided deployment via install.sh.
10
+
9
11
**For more detailed guides, please refer to the documentation: https://docs.onyx.app/deployment/overview**
10
12
11
13
## install.sh script
@@ -26,3 +28,20 @@ and where it is stored will depend on your Docker setup. You can always delete t
26
28
the install.sh script with --delete-data.
27
29
28
30
To shut down the deployment without deleting, use install.sh --shutdown.
31
+
32
+
### Upgrading the deployment
33
+
Onyx maintains backwards compatibility across all minor versions following SemVer. If following the install.sh script (or through Docker Compose), you can
34
+
upgrade it by first bringing down the containers. To do this, use `install.sh --shutdown`
35
+
(or `docker compose down` from the directory with the docker-compose.yml file).
36
+
37
+
After the containers are stopped, you can safely upgrade by either re-running the `install.sh` script (if you left the values as default which is latest,
38
+
then it will automatically update to latest each time the script is run). If you are more comfortable running docker compose commands, you can also run
39
+
commands directly from the directory with the docker-compose.yml file. First verify the version you want in the environment file (see below),
40
+
(if using `latest` tag, be sure to run `docker compose pull`) and run `docker compose up` to restart the services on the latest version
41
+
42
+
### Environment variables
43
+
The Docker Compose files try to look for a .env file in the same directory. The `install.sh` script sets it up from a file called env.template which is
44
+
downloaded during the initial setup. Feel free to edit the .env file to customize your deployment. The most important / common changed values are
45
+
located near the top of the file.
46
+
47
+
IMAGE_TAG is the version of Onyx to run. It is recommended to leave it as latest to get all updates with each redeployment.
0 commit comments