Last active
June 30, 2021 02:40
-
-
Save hachi8833/f03b721abf015e7bef18dcdc404fb1f1 to your computer and use it in GitHub Desktop.
RailsGoat向けのdip.yml
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
version: '7.0' | |
environment: | |
RAILS_ENV: development | |
compose: | |
files: | |
- docker-compose.yml | |
interaction: | |
sh: | |
description: Open the app container bash shell | |
service: web | |
command: /bin/bash | |
compose_run_options: [no-deps] | |
bundle: | |
description: Run bundler command | |
service: web | |
command: bundle | |
compose_run_options: [no-deps] | |
rake: | |
description: Run rake command | |
service: web | |
command: bundle exec rake | |
rails: | |
description: Run rails command | |
service: web | |
command: bundle exec rails | |
subcommands: | |
s: | |
description: Start rails server | |
service: web | |
compose_run_options: [service-ports] | |
minitest: | |
description: Run minitest | |
service: web | |
environment: | |
RAILS_ENV: test | |
command: bundle exec rails test | |
mysql: | |
description: Run mysql console | |
service: mysql | |
command: mysql -h mysql -u root |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment