Advertisement
Guest User

Untitled

a guest
Feb 12th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. ...
  2. db_1 | MySQL init process done. Ready for start up.
  3. db_1 | [Warning] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key
  4. ...
  5. db_1 | [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
  6. db_1 | [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
  7. db_1 | [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
  8. db_1 | Version: '5.7.10' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL)
  9. db_1 | Version: '5.7.10' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL)
  10. web_1 | [2016-02-11 18:38:10] INFO WEBrick 1.3.1
  11. web_1 | [2016-02-11 18:38:10] INFO ruby 2.2.0 (2014-12-25) [x86_64-linux]
  12. web_1 | [2016-02-11 18:38:10] INFO WEBrick::HTTPServer#start: pid=1 port=3000
  13.  
  14. db_1 | [Note] Aborted connection 2 to db: 'unconnected' user: 'root' host: '172.17.0.4' (Got an error reading communication packets)
  15. ...
  16. db_1 | [Note] Aborted connection 3 to db: 'unconnected' user: 'root' host: '172.17.0.4' (Got an error reading communication packets)
  17.  
  18. FROM ruby:2.2.0
  19. RUN apt-get update -qq && apt-get install -y build-essential
  20. RUN mkdir /myapp
  21. WORKDIR /myapp
  22. ADD Gemfile /myapp/Gemfile
  23. ADD Gemfile.lock /myapp/Gemfile.lock
  24. RUN bundle install
  25. ADD . /myapp
  26. EXPOSE 3000
  27.  
  28. db:
  29.  
  30. default: &default
  31. adapter: mysql2
  32. pool: 5
  33. encoding: utf8
  34. host: db
  35. username: root
  36. password: password
  37. development:
  38. <<: *default
  39. database: myapp_development
  40. test:
  41. <<: *default
  42. database: myapp_test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement