Skip to content

Commit 21e00b1

Browse files
committed
Update docker-compose.yml
1 parent 2750750 commit 21e00b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ services:
2727
TZ: '${LOCAL_TIMEZONE}'
2828
labels:
2929
- '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"
30+
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'"
3131

3232
webserver:
3333
depends_on:

0 commit comments

Comments
 (0)