mirror of https://github.com/docker/docs.git
Remove project name from envvars in docs
This commit is contained in:
parent
9049f4e378
commit
b4cbcbefa6
|
@ -60,8 +60,8 @@ First thing we need to do is set up the database connection. Replace the `DATABA
|
||||||
'NAME': 'docker',
|
'NAME': 'docker',
|
||||||
'USER': 'docker',
|
'USER': 'docker',
|
||||||
'PASSWORD': 'docker',
|
'PASSWORD': 'docker',
|
||||||
'HOST': os.environ.get('MYAPP_DB_1_PORT_5432_TCP_ADDR'),
|
'HOST': os.environ.get('DB_1_PORT_5432_TCP_ADDR'),
|
||||||
'PORT': os.environ.get('MYAPP_DB_1_PORT_5432_TCP_PORT'),
|
'PORT': os.environ.get('DB_1_PORT_5432_TCP_PORT'),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -73,8 +73,8 @@ Open up your newly-generated `database.yml`. Replace its contents with the follo
|
||||||
pool: 5
|
pool: 5
|
||||||
username: docker
|
username: docker
|
||||||
password: docker
|
password: docker
|
||||||
host: <%= ENV.fetch('MYAPP_DB_1_PORT_5432_TCP_ADDR', 'localhost') %>
|
host: <%= ENV.fetch('DB_1_PORT_5432_TCP_ADDR', 'localhost') %>
|
||||||
port: <%= ENV.fetch('MYAPP_DB_1_PORT_5432_TCP_PORT', '5432') %>
|
port: <%= ENV.fetch('DB_1_PORT_5432_TCP_PORT', '5432') %>
|
||||||
|
|
||||||
test:
|
test:
|
||||||
<<: *default
|
<<: *default
|
||||||
|
|
Loading…
Reference in New Issue