-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Me again.. any advice for why I can't find the database this time?
aki-macbook-pro:meetrics akibalogh$ docker run --rm -e DB_HOST="host.docker.internal" -v `pwd`:/app chasdevs/meetrics | tee out.log
time="2020-04-16T21:47:17Z" level=info msg="Environment: development\n"
panic: failed to connect database
goroutine 1 [running]:
github.com/chasdevs/meetrics/pkg/data.Init()
/app/pkg/data/data.go:35 +0x18c
main.init.0()
/app/main.go:27 +0x2e
I can run docker-compose up -d mysql but not the go program
Metadata
Metadata
Assignees
Labels
No labels