With Docker, spin up the db as a container and spin up the service as a process
-
podman-compose up
-
export INTERNAL_URL="postgres://twotop:twotop@localhost:5432/twotop"
go run main.go
With Docker, spin up the db as a container and spin up the service as a process
-
Install podman with brew:
brew install podman
-
podman machine start
-
podman-compose up
-
export INTERNAL_URL="postgres://twotop:twotop@localhost:5432/twotop"
-
go run main.go