start Rails server using rdebug-ide in Docker
This commit is contained in:
parent
9895782a02
commit
658c56afe1
|
@ -5,7 +5,7 @@ services:
|
|||
build:
|
||||
context: .
|
||||
dockerfile: .docker/ruby/Dockerfile
|
||||
command: bash -c "rm -f tmp/pids/server.pid && bundle exec rails s -p 3000 -b '0.0.0.0'"
|
||||
command: bash -c "rm -f tmp/pids/server.pid && rdebug-ide --skip_wait_for_start --host 0.0.0.0 --port 1234 --dispatcher-port 26162 -- bin/rails s -p 3000 -b '0.0.0.0'"
|
||||
depends_on:
|
||||
- postgres
|
||||
- redis
|
||||
|
@ -16,6 +16,7 @@ services:
|
|||
- cache:/cache
|
||||
ports:
|
||||
- 3000:3000
|
||||
- 1234:1234
|
||||
|
||||
redis:
|
||||
image: redis:3.2.11-alpine
|
||||
|
|
Loading…
Reference in New Issue