parent
fd1b550f93
commit
e2ad6e7715
@ -0,0 +1,16 @@ |
||||
<div class="page mt-0"> |
||||
<div class="page-content mt-0"> |
||||
<div class="container text-center"> |
||||
<i class="fas fa-database fa-6x mb-4"></i> |
||||
<h1 class="h3 mb-2">Greenlight encountered a database migration error.<br>This may be because you haven't updated to Greenlight 2.0.</h1> |
||||
<p class="h4 text-muted font-weight-normal mb-7">If you are not an administrator, please contact one.</p> |
||||
<h1 class="h3 mb-3">We've released a new version of Greenlight, but your database isn't compatible.</h1> |
||||
<a class="btn btn-success mt-3 mx-3" href="http://docs.bigbluebutton.org/install/greenlight-v2.html#upgrading-from-greenlight-10" target="_blank"> |
||||
<i class="far fa-star mr-2"></i>Show me how to upgrade to 2.0! |
||||
</a> |
||||
<a class="btn btn-info mt-3 mx-3 w-20" href="" target="_blank"> |
||||
<i class="far fa-hand-paper mr-2"></i>I'd like to stay using 1.0. |
||||
</a> |
||||
</div> |
||||
</div> |
||||
</div> |
@ -1,6 +1,8 @@ |
||||
#!/bin/bash |
||||
|
||||
bundle exec rake db:create |
||||
bundle exec rake db:migrate |
||||
if ! bundle exec rake db:migrate ; then |
||||
export DB_MIGRATE_FAILED=1 |
||||
fi |
||||
|
||||
exec bundle exec puma -C config/puma.rb |
||||
|
@ -1,14 +1,14 @@ |
||||
version: '3' |
||||
|
||||
services: |
||||
services: |
||||
app: |
||||
entrypoint: [bin/start] |
||||
image: joshblind/greenlight:latest |
||||
container_name: greenlight-web |
||||
image: joshblind/greenlight:v2 |
||||
container_name: greenlight-v2 |
||||
env_file: env |
||||
restart: unless-stopped |
||||
ports: |
||||
- 6000:3000 |
||||
volumes: |
||||
- 5000:80 |
||||
volumes: |
||||
- ./db/production:/usr/src/app/db/production |
||||
- ./log:/usr/src/app/log |
||||
|
Reference in new issue