mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 12:09:53 +01:00
start Rails server using rdebug-ide in Docker
This commit is contained in:
parent
9895782a02
commit
658c56afe1
1 changed files with 4 additions and 3 deletions
|
@ -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 a new issue