From 98a111796b15418747cf3f3623e5130cf4117b02 Mon Sep 17 00:00:00 2001 From: Kyle Gordon Date: Fri, 12 Aug 2022 15:07:02 +0100 Subject: [PATCH] Declare DB_PORT in all .env files --- .env.dusk.local | 1 + .env.example | 1 + .env.testing | 1 + .env.testing-ci | 1 + .env.tests | 1 + .env.unit-tests | 1 + 6 files changed, 6 insertions(+) diff --git a/.env.dusk.local b/.env.dusk.local index 6f8c31de4..f9162d076 100644 --- a/.env.dusk.local +++ b/.env.dusk.local @@ -21,6 +21,7 @@ PUBLIC_FILESYSTEM_DISK=local_public # -------------------------------------------- DB_CONNECTION=mysql DB_HOST=localhost +DB_PORT=3309 DB_DATABASE=snipeit-local DB_USERNAME=snipeit-local DB_PASSWORD=snipeit-local diff --git a/.env.example b/.env.example index d4074a170..ad949f81c 100644 --- a/.env.example +++ b/.env.example @@ -24,6 +24,7 @@ PUBLIC_FILESYSTEM_DISK=local_public # -------------------------------------------- DB_CONNECTION=mysql DB_HOST=127.0.0.1 +DB_PORT=3309 DB_DATABASE=null DB_USERNAME=null DB_PASSWORD=null diff --git a/.env.testing b/.env.testing index eefb61c25..b77758f0a 100644 --- a/.env.testing +++ b/.env.testing @@ -14,6 +14,7 @@ FILESYSTEM_DISK=local # -------------------------------------------- DB_CONNECTION=sqlite_testing DB_HOST=localhost +DB_PORT=3309 DB_DATABASE=testing.sqlite DB_USERNAME=null DB_PASSWORD=null diff --git a/.env.testing-ci b/.env.testing-ci index 7b91a44b5..25c3a7238 100644 --- a/.env.testing-ci +++ b/.env.testing-ci @@ -14,6 +14,7 @@ FILESYSTEM_DISK=local # -------------------------------------------- DB_CONNECTION=sqlite DB_HOST=localhost +DB_PORT=3309 DB_DATABASE='sqlite_testing' DB_USERNAME=root DB_PASSWORD=null diff --git a/.env.tests b/.env.tests index 72a11973a..530e14456 100644 --- a/.env.tests +++ b/.env.tests @@ -4,6 +4,7 @@ APP_URL=http://snipe-it.localapp DB_CONNECTION=mysql DB_DEFAULT=mysql DB_HOST=localhost +DB_PORT=3309 DB_DATABASE=snipeittests DB_USERNAME=snipeit DB_PASSWORD=snipe diff --git a/.env.unit-tests b/.env.unit-tests index e6ff51c7f..ad7930e3a 100644 --- a/.env.unit-tests +++ b/.env.unit-tests @@ -4,6 +4,7 @@ APP_URL=http://snipe-it.localapp DB_CONNECTION=sqlite_testing DB_DEFAULT=sqlite_testing DB_HOST=localhost +DB_PORT=3309 APP_KEY=base64:tu9NRh/a6+dCXBDGvg0Gv/0TcABnFsbT4AKxrr8mwQo=