mirror of
https://github.com/moghtech/komodo.git
synced 2026-10-28 16:00:38 +00:00
* update deps * remove patch when 0 for deployments using specific build version * implement custom git provider and image registry support * common providers api * toml array alias * username alias account * get fe to build * http or https * fix frontend build * improve registry / provider config * frontend build * rework deployment / builds image registry * frontend builds * update build config fe * configure builder additional accounts / secrets * guard against managing non-github repo webhooks * fmt * md size dashboard * lowercase organization in image name * update config docs * update example env * provider configuration * distribute migrator * fix casing mismatch * docs
Migrator
Performs schema changes on the Monitor database
v1.7 - v1.11 migration (Run this to before upgrading to latest from version 1.7 to 1.11)
docker run --rm --name monitor-migrator \
--env MIGRATION="v1.11" \
--env TARGET_URI="mongodb://<USERNAME>:<PASSWORD>@<ADDRESS>" \
--env TARGET_DB_NAME="<DB_NAME>" \
ghcr.io/mbecker20/monitor_migrator
v1.0 - v1.6 migration (Run this to before upgrading to latest from version 1.0 to 1.6)
docker run --rm --name monitor-migrator \
--env MIGRATION="v1.6" \
--env TARGET_URI="mongodb://<USERNAME>:<PASSWORD>@<ADDRESS>" \
--env TARGET_DB_NAME="<DB_NAME>" \
ghcr.io/mbecker20/monitor_migrator
v0.X migration (Run this to before upgrading to latest from version 0.X)
Note. As this is a major upgrade, this migration is not "in place". It will create another database (TARGET) and migrate resources over, leaving the original database (LEGACY) unchanged.
docker run --rm --name monitor-migrator \
--env MIGRATION="v0" \
--env TARGET_URI="mongodb://<USERNAME>:<PASSWORD>@<ADDRESS>" \
--env TARGET_DB_NAME="<TARGET_DB_NAME>" \
--env LEGACY_URI="mongodb://<USERNAME>:<PASSWORD>@<ADDRESS>" \
--env LEGACY_DB_NAME="<LEGACY_DB_NAME>" \
ghcr.io/mbecker20/monitor_migrator