From e5a8f2a1d6cf570d60df741aefa3f7f25ddadbfd Mon Sep 17 00:00:00 2001 From: Abdullah Adeel Date: Sat, 15 Jan 2022 20:03:19 +0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=96=20updated=20`deployment=20with=20d?= =?UTF-8?q?ocker`=20to=20include=20`mysql`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/deployment-with-docker.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/deployment-with-docker.rst b/docs/deployment-with-docker.rst index fcce7e6f5..815bdc6ad 100644 --- a/docs/deployment-with-docker.rst +++ b/docs/deployment-with-docker.rst @@ -17,7 +17,7 @@ Understanding the Docker Compose Setup Before you begin, check out the ``production.yml`` file in the root of this project. Keep note of how it provides configuration for the following services: * ``django``: your application running behind ``Gunicorn``; -* ``postgres``: PostgreSQL database with the application's relational data; +* ``postgres/mysql``: PostgreSQL/MySQL database with the application's relational data; * ``redis``: Redis instance for caching; * ``traefik``: Traefik reverse proxy with HTTPS on by default. @@ -85,10 +85,12 @@ You can read more about this feature and how to configure it, at `Automatic HTTP .. _Automatic HTTPS: https://docs.traefik.io/https/acme/ -(Optional) Postgres Data Volume Modifications +(Optional) Database Data Volume Modifications --------------------------------------------- -Postgres is saving its database files to the ``production_postgres_data`` volume by default. Change that if you want something else and make sure to make backups since this is not done automatically. +Postgres is saving its database files to the ``production_postgres_data`` volume by default. +Similarly, MySQL is saving its database files to the ``production_mysql_data`` volume by default. +Change that if you want something else and make sure to make backups since this is not done automatically. Building & Running Production Stack