Remove project name from envvars in docs

This commit is contained in:
Ben Firshman 2014-01-27 21:12:14 +00:00
parent 9049f4e378
commit b4cbcbefa6
2 changed files with 4 additions and 4 deletions

View File

@ -60,8 +60,8 @@ First thing we need to do is set up the database connection. Replace the `DATABA
'NAME': 'docker',
'USER': 'docker',
'PASSWORD': 'docker',
'HOST': os.environ.get('MYAPP_DB_1_PORT_5432_TCP_ADDR'),
'PORT': os.environ.get('MYAPP_DB_1_PORT_5432_TCP_PORT'),
'HOST': os.environ.get('DB_1_PORT_5432_TCP_ADDR'),
'PORT': os.environ.get('DB_1_PORT_5432_TCP_PORT'),
}
}

View File

@ -73,8 +73,8 @@ Open up your newly-generated `database.yml`. Replace its contents with the follo
pool: 5
username: docker
password: docker
host: <%= ENV.fetch('MYAPP_DB_1_PORT_5432_TCP_ADDR', 'localhost') %>
port: <%= ENV.fetch('MYAPP_DB_1_PORT_5432_TCP_PORT', '5432') %>
host: <%= ENV.fetch('DB_1_PORT_5432_TCP_ADDR', 'localhost') %>
port: <%= ENV.fetch('DB_1_PORT_5432_TCP_PORT', '5432') %>
test:
<<: *default