diff options
author | Matthew Lemon <y@yulqen.org> | 2024-04-10 14:25:03 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-04-10 14:25:03 +0100 |
commit | 1f5402530a5c5011ee4e3d0fc8c94636fbd4ed60 (patch) | |
tree | bda2827c22340691ce6c54dcedbd0b0cc93b9cde /cmd/dbasik-api/main.go | |
parent | e7e517b822333188ea34f4a4ba83de2253cfe869 (diff) |
Adds docker compose config file and changes application port
Diffstat (limited to 'cmd/dbasik-api/main.go')
-rw-r--r-- | cmd/dbasik-api/main.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/dbasik-api/main.go b/cmd/dbasik-api/main.go index fc03d33..b10080c 100644 --- a/cmd/dbasik-api/main.go +++ b/cmd/dbasik-api/main.go @@ -15,6 +15,9 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see <https://www.gnu.org/licenses/>. + +// Package main is the entry point for dbasik. +// It provides the main functionality for the dbasik application. package main import ( @@ -47,7 +50,7 @@ func main() { var cfg config // Read the flags into the config struct. Defaults are provided if none given. - flag.IntVar(&cfg.port, "port", 4000, "API server port") + flag.IntVar(&cfg.port, "port", 5000, "API server port") flag.StringVar(&cfg.env, "env", "development", "Environment (development|staging|production)") flag.Parse() |