Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
web-et-numerique
web-et-numerique-internet
data.grandlyon.com
web-portal
components
services
organizations
Commits
549470dc
Commit
549470dc
authored
Nov 09, 2018
by
FORESTIER Fabien
Browse files
Pass postgres port as a constant for the service
parent
35530552
Pipeline
#2412
passed with stages
in 22 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
docker-compose.yml
View file @
549470dc
...
...
@@ -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
...
...
ormconfig.ts
View file @
549470dc
...
...
@@ -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
,
...
...
template.env
0 → 100644
View file @
549470dc
POSTGRES_USER=
POSTGRES_PASSWORD=
POSTGRES_DB=
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment