Create an .lein-env
file at the root.
{:db-type "mysql"
:db-name ""
:db-user "root"
:db-host "127.0.0.1"
:db-password ""}
$ lein run
Request URL - http://localhost:3000
.lein-env
{:db-host "db"}
$ docker-compose build && docker-compose up
Request URL - http://localhost:80
http://localhost:3000/docs #swagger-ui