Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ func main() {

log.Init(logLevel)

docker.Init()

config.Load()

ENV = config.ENV
Expand Down
4 changes: 4 additions & 0 deletions utils/docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ import (

var stop chan os.Signal

func Init() {
log.Info("Running ", os.Getenv("IMAGE_TAG"), " Image")
}

func Run(main func()) chan os.Signal {
stop = make(chan os.Signal, 1)
signal.Notify(stop, syscall.SIGINT, syscall.SIGTERM)
Expand Down