Upgrade to the keygen/api:latest
or keygen/api:v1.4
image. This release introduces support for Rubygems and npm distribution engines. In addition, this release brings support for importing and exporting data between Keygen Cloud and Keygen CE/EE. This release will include multiple database migrations, so we recommend taking a database backup beforehand and performing the upgrade during off-peak hours.
docker pull keygen/api:latest
After deploying, but before "rolling over the release", run the following command in the container to migrate the database:
rake db:migrate # apply database migrations
After deploying and running the migrations, run the following commands in the container to seed new permissions:
rake db:seed # adds new permissions and event types
You may now roll over the release, i.e. route traffic to the new containers and shut down old containers.
For more information on database migrations, see the Rails documentation.
For more information on upgrading, see the docs.