We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2750750 commit 21e00b1Copy full SHA for 21e00b1
docker-compose.yml
@@ -27,7 +27,7 @@ services:
27
TZ: '${LOCAL_TIMEZONE}'
28
labels:
29
- 'docker-volume-backup.stop-during-backup=true'
30
- command: bash -c "if [ -f \"/app/Rakefile\" ]; then bundle update && rails restart; else rails new . && rails s -p 9000 -b '0.0.0.0'; fi"
+ command: bash -c "if [ -f \"/app/Gemfile.lock\" ]; then bundle install; else rails new . && echo -en \"gem 'redis', '~> 5.0', '>= 5.0.5'\\ngem 'mysql2', '~> 0.5.4'\\n\" >> /app/Gemfile; fi && rails s -p 9000 -b '0.0.0.0'"
31
32
webserver:
33
depends_on:
0 commit comments