Advertisement
Guest User

Untitled

a guest
Sep 15th, 2017
544
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version ("2.0", "2.1", "3.0", "3.1", "3.2") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
  2.  
  3. version: ‘2’
  4. services:
  5. web:
  6. build: .
  7. context: .
  8. args:
  9. - http_proxy
  10. - https_proxy
  11. - no_proxy
  12. command: bundle exec rails s -b 0.0.0.0
  13. volumes:
  14. - .:/app
  15. ports:
  16. - "3000:3000"
  17. depends_on:
  18. - db
  19. environment:
  20. - POSTGRESQL_PASSWORD=abcd12345
  21. db:
  22. image: postgres:9.6.2-alpine
  23. environment:
  24. POSTGRES_USER: postgres
  25. POSTGRES_DB: myappnameapp_development
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement