From 888e59228fec395f8e481341a3dd2332dc210ad3 Mon Sep 17 00:00:00 2001 From: DavidVadnais Date: Tue, 11 Mar 2025 08:29:22 -1000 Subject: [PATCH] Update docs to use docker compose and document env var POSTGRES_MAJOR_VERSION --- docs/standalone.rst | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/docs/standalone.rst b/docs/standalone.rst index 4d3a3318..07fdb74b 100644 --- a/docs/standalone.rst +++ b/docs/standalone.rst @@ -5,7 +5,7 @@ You can find standalone docker images at `djangohelpdesk/standalone:latest `_ image with extra libraries needed to use the standalone image on cloud platforms such as AWS. You can find a full list of extra packages included in the extra's image `here `_. -Installation using docker-compose +Installation using docker compose ------------ 1. Clone the django-helpdesk repository: @@ -21,16 +21,22 @@ Installation using docker-compose cd django-helpdesk/standalone 3. Execute the installation script: - - .. code-block:: bash - - ./setup.sh + .. code-block:: bash + + ./setup.sh + + Set the POSTGRES major version if you are deploying to an existing POSTGRES instance other than the default shown within the docker-compose file. For example: + + .. code-block:: bash + + export POSTGRES_MAJOR_VERSION=15 + 4. Start the services: .. code-block:: bash - docker-compose up + docker compose up Creating an Admin User