Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proxy is not allowing service to start #84

Closed
dyatlov opened this issue Oct 7, 2015 · 1 comment
Closed

Proxy is not allowing service to start #84

dyatlov opened this issue Oct 7, 2015 · 1 comment

Comments

@dyatlov
Copy link

dyatlov commented Oct 7, 2015

When I run docker-compose up:

MBP-Vitaly:bb dyatlov$ docker-compose up
Starting bb_db_1...
Starting bb_web_1...
Cannot start container 473e51676f19ffa3e15245d6bc1ffb0e73b04b405ede41b9bcad1c7134ff8773: Bind for 0.0.0.0:80 failed: port is already allocated

My docker-compose.yml:

db:
  image: postgres
web:
  build: .
  command: bundle exec foreman start -f Procfile
  volumes:
    - .:/app
  ports:
    - "80:3000"
    - "8030:8030"
  links:
    - db
  environment:
    - VIRTUAL_HOST=bb.dev

Procfile:

rails: rails s -p 3000 -b '0.0.0.0'
webpack: npm start
@codekitchen
Copy link
Owner

The dinghy up command has a flag to disable the proxy, if you need to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants