This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
production: | |
adapter: mysql2 | |
encoding: utf8 | |
database: <%= ENV['MYSQL_ENV_MYSQL_DATABASE'] %> | |
username: <%= ENV['MYSQL_ENV_MYSQL_USER'] %> | |
password: <%= ENV['MYSQL_ENV_MYSQL_PASSWORD'] %> | |
host: <%= ENV['MYSQL_PORT_3306_TCP_ADDR'] %> | |
port: <%= ENV['MYSQL_PORT_3306_TCP_PORT'] %> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ruby:2.1.5 | |
RUN mkdir -p /usr/src/app | |
WORKDIR /usr/src/app | |
COPY . /usr/src/app | |
RUN bundle install | |
RUN apt-get update | |
RUN apt-get install -y nodejs --no-install-recommends | |
RUN apt-get install -y mysql-client --no-install-recommends | |
RUN rm -rf /var/lib/apt/lists/* | |
EXPOSE 3000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM rails:onbuild | |
RUN bundle exec rake db:setup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://rubygems.org' | |
gem 'json' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test test test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puts "First file in gist" |
NewerOlder