prefer '-b 0.0.0.0' over '--bind 0.0.0.0' (docker-compose.yml)
The latter yields the following error: `handle_argument_error': ERROR: "rails server" was called with arguments ["--bind", "0.0.0.0"] (Thor::InvocationError)
This commit is contained in:
parent
dc1b336ba4
commit
a92d4a1a32
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ services:
|
||||||
build:
|
build:
|
||||||
context: ./
|
context: ./
|
||||||
dockerfile: Dockerfile.development
|
dockerfile: Dockerfile.development
|
||||||
command: bundle exec rails server --bind 0.0.0.0
|
command: bundle exec rails server -b 0.0.0.0
|
||||||
volumes:
|
volumes:
|
||||||
- ./:/srv/app
|
- ./:/srv/app
|
||||||
ports:
|
ports:
|
||||||
|
|
Loading…
Reference in a new issue