Move apps to different ports

This commit is contained in:
Eden Kirin
2024-01-23 20:14:01 +01:00
parent 95b0c5f1ad
commit 3d6e4e6f34
8 changed files with 895 additions and 897 deletions

View File

@ -26,8 +26,7 @@ docker-build: clean
docker-run:
@docker run \
--name $(CONTAINER_NAME) \
--publish 3000:3000 \
--env CONTAINER_NAME="Awesome API server" \
--publish 4001:4001 \
--env DBPORT=55432 \
--detach \
$(IMAGE_NAME)

View File

@ -6,7 +6,7 @@ import (
type configStruct struct {
AppHost string `default:"0.0.0.0"`
AppPort int `default:"3001"`
AppPort int `default:"4001"`
DbHost string `default:"localhost"`
DbPort int `default:"55432"`
DbName string `default:"komponiranje"`