https://github.com/takeyuweb/my-rails-docker-compose-sample
開発用としてのdocker-composeはミドルウェアでの利用に留めるサンプル
https://github.com/takeyuweb/my-rails-docker-compose-sample
Last synced: 8 months ago
JSON representation
開発用としてのdocker-composeはミドルウェアでの利用に留めるサンプル
- Host: GitHub
- URL: https://github.com/takeyuweb/my-rails-docker-compose-sample
- Owner: takeyuweb
- Created: 2017-08-05T18:53:06.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-05T18:53:17.000Z (almost 9 years ago)
- Last Synced: 2025-10-11T12:08:16.680Z (8 months ago)
- Language: Ruby
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
## 必要なOSパッケージインストール
$ curl -sL https://deb.nodesource.com/setup_6.x | sudo bash -
$ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
$ echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
$ sudo apt-get update -qq
$ sudo apt-get install -y build-essential libmysqlclient-dev nodejs yarn
Docker & Docker Compose
## gems & node modules
$ bundle install --jobs 4 --retry 5 --path vendor/bundle
$ yarn
## Start
$ docker-compose up -d
$ bundle exec rails s