Commit 549470dc authored by FORESTIER Fabien's avatar FORESTIER Fabien
Browse files

Pass postgres port as a constant for the service

parent 35530552
Pipeline #2412 passed with stages
in 22 seconds
......@@ -12,7 +12,6 @@ services:
POSTGRES_USER: ${DEV_POSTGRES_USER}
POSTGRES_PASSWORD: ${DEV_POSTGRES_PASSWORD}
POSTGRES_DB: ${DEV_POSTGRES_DB}
POSTGRES_PORT: ${DEV_POSTGRES_PORT}
depends_on:
- database-organizations
......
......@@ -17,7 +17,7 @@ if (process.env.NODE_ENV === 'LOCAL') {
export = {
type: 'postgres',
host: 'database-organizations',
port: process.env.POSTGRES_PORT,
port: 5432,
username: process.env.POSTGRES_USER,
password: process.env.POSTGRES_PASSWORD,
database: process.env.POSTGRES_DB,
......
POSTGRES_USER=
POSTGRES_PASSWORD=
POSTGRES_DB=
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment