.env Example

LOCATION=remote
####################################################
###################### LOGGER ######################
LOGGER_LEVEL=debug
LOGGER_ENCODING=console
# zapcore.LevelEncoder.UnmarshalText : capital | capitalColor | color | lower
LOGGER_LEVEL_ENCODER=lower
####################################################
##################### DATABASE #####################
# LOCAL
DB_DSN=postgres://todo:todo@todo_db:5432/todo?sslmode=disable

Run application

$ docker-compose -f ./ops/docker/docker-compose.yaml

And if you see the following output then services is started ok.

Running 3/3
  Container docker-todo      Started                                                                                                                6.3s

Swagger API

swagger-ui looks like this: Demo-Api