From 1875e2c7881aba9de90c0c45d478da3594176fa5 Mon Sep 17 00:00:00 2001 From: codedge Date: Sun, 16 Aug 2020 16:22:40 +0200 Subject: [PATCH] Created Differences version 4 and 5 (markdown) --- Differences-version-4-and-5.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Differences-version-4-and-5.md diff --git a/Differences-version-4-and-5.md b/Differences-version-4-and-5.md new file mode 100644 index 0000000..a55102c --- /dev/null +++ b/Differences-version-4-and-5.md @@ -0,0 +1,22 @@ +## Environment variables + +The amount and names of environment variables differ from version 4 to 5. + +* [Environment variables version 4](https://github.com/invoiceninja/invoiceninja/blob/master/.env.example) +* [Environment variables version 5](https://github.com/invoiceninja/invoiceninja/blob/v2/.env.example) + +### Examples + +In version 4 you specified the database connection with these environment variables: +* `DB_HOST` +* `DB_USERNAME` +* `DB_PASSWORD` +* `DB_DATABASE` + +In version 5, that supports multiple database connections, you do it with: +* `DB_HOST1` +* `DB_DATABASE1` +* `DB_USERNAME1` +* `DB_PASSWORD1` + +So please make sure you know which version you are running and therefore which variable to use. \ No newline at end of file