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,