Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ...
- db_1 | MySQL init process done. Ready for start up.
- 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
- ...
- db_1 | [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
- db_1 | [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
- db_1 | [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
- db_1 | Version: '5.7.10' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL)
- db_1 | Version: '5.7.10' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL)
- web_1 | [2016-02-11 18:38:10] INFO WEBrick 1.3.1
- web_1 | [2016-02-11 18:38:10] INFO ruby 2.2.0 (2014-12-25) [x86_64-linux]
- web_1 | [2016-02-11 18:38:10] INFO WEBrick::HTTPServer#start: pid=1 port=3000
- db_1 | [Note] Aborted connection 2 to db: 'unconnected' user: 'root' host: '172.17.0.4' (Got an error reading communication packets)
- ...
- db_1 | [Note] Aborted connection 3 to db: 'unconnected' user: 'root' host: '172.17.0.4' (Got an error reading communication packets)
- FROM ruby:2.2.0
- RUN apt-get update -qq && apt-get install -y build-essential
- RUN mkdir /myapp
- WORKDIR /myapp
- ADD Gemfile /myapp/Gemfile
- ADD Gemfile.lock /myapp/Gemfile.lock
- RUN bundle install
- ADD . /myapp
- EXPOSE 3000
- db:
- default: &default
- adapter: mysql2
- pool: 5
- encoding: utf8
- host: db
- username: root
- password: password
- development:
- <<: *default
- database: myapp_development
- test:
- <<: *default
- database: myapp_test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement