mirror of
https://github.com/docker/compose.git
synced 2025-07-23 13:45:00 +02:00
Merge pull request #1799 from d2bit/clean-rails-quickstart-guide-db-config
Remove useless postgres 'port' configuration (cherry picked from commit b25f05bed4d8865c8d236576e99d8d44571702d4) Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
5c853c4a2c
commit
31cf63b374
@ -40,8 +40,6 @@ Finally, `docker-compose.yml` is where the magic happens. This file describes th
|
|||||||
|
|
||||||
db:
|
db:
|
||||||
image: postgres
|
image: postgres
|
||||||
ports:
|
|
||||||
- "5432"
|
|
||||||
web:
|
web:
|
||||||
build: .
|
build: .
|
||||||
command: bundle exec rails s -p 3000 -b '0.0.0.0'
|
command: bundle exec rails s -p 3000 -b '0.0.0.0'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user