From 920204ae404bfa0a1c31cb5f2930a4f34792fd99 Mon Sep 17 00:00:00 2001 From: lesion Date: Fri, 20 May 2022 13:54:14 +0200 Subject: [PATCH] add GANCIO_DB_PORT env --- docs/docker/mariadb/docker-compose.yml | 1 + docs/docker/postgres/docker-compose.yml | 1 + server/initialize.server.js | 1 + 3 files changed, 3 insertions(+) diff --git a/docs/docker/mariadb/docker-compose.yml b/docs/docker/mariadb/docker-compose.yml index fdba1ec7..3dab105e 100644 --- a/docs/docker/mariadb/docker-compose.yml +++ b/docs/docker/mariadb/docker-compose.yml @@ -24,6 +24,7 @@ services: - NODE_ENV=production - GANCIO_DB_DIALECT=mariadb - GANCIO_DB_HOST=db + - GANCIO_DB_PORT=3306 - GANCIO_DB_DATABASE=gancio - GANCIO_DB_USERNAME=gancio - GANCIO_DB_PASSWORD=gancio diff --git a/docs/docker/postgres/docker-compose.yml b/docs/docker/postgres/docker-compose.yml index 9bd06169..ad0a61f7 100644 --- a/docs/docker/postgres/docker-compose.yml +++ b/docs/docker/postgres/docker-compose.yml @@ -26,6 +26,7 @@ services: - NODE_ENV=production - GANCIO_DB_DIALECT=postgres - GANCIO_DB_HOST=db + - GANCIO_DB_PORT=5432 - GANCIO_DB_DATABASE=gancio - GANCIO_DB_USERNAME=gancio - GANCIO_DB_PASSWORD=gancio diff --git a/server/initialize.server.js b/server/initialize.server.js index bfc35b4e..b542e430 100644 --- a/server/initialize.server.js +++ b/server/initialize.server.js @@ -20,6 +20,7 @@ module.exports = function () { dialect: process.env.GANCIO_DB_DIALECT, storage: process.env.GANCIO_DB_STORAGE, host: process.env.GANCIO_DB_HOST, + port: process.env.GANCIO_DB_PORT, database: process.env.GANCIO_DB_DATABASE, username: process.env.GANCIO_DB_USERNAME, password: process.env.GANCIO_DB_PASSWORD,