split running migrations into separate compose step; docker-compose files for different processes

This commit is contained in:
Ian Norden
2020-03-18 12:21:29 -05:00
parent 6ded3a6c85
commit 1d4b37aca9
9 changed files with 286 additions and 67 deletions
+1 -3
View File
@@ -16,8 +16,6 @@
package cmd
import (
"fmt"
log "github.com/sirupsen/logrus"
"github.com/spf13/cobra"
@@ -56,5 +54,5 @@ func rsyncCmdCommand() {
if err := rService.Resync(); err != nil {
logWithCommand.Fatal(err)
}
fmt.Printf("%s %s resync finished", rConfig.Chain.String(), rConfig.ResyncType.String())
logWithCommand.Infof("%s %s resync finished", rConfig.Chain.String(), rConfig.ResyncType.String())
}