diff --git a/Dockerfile b/Dockerfile index 06abe7ab..e5914e56 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,4 +23,4 @@ COPY conf.toml ./conf.toml COPY --from=build /TechTestApp TechTestApp -ENTRYPOINT [ "./TechTestApp" ] +ENTRYPOINT [ "./TechTestApp", "serve" ] diff --git a/db/db.go b/db/db.go index 3596c356..d829bf5e 100644 --- a/db/db.go +++ b/db/db.go @@ -75,7 +75,8 @@ ENCODING = 'UTF8' LC_COLLATE = 'en_US.utf8' LC_CTYPE = 'en_US.utf8' TABLESPACE = pg_default -CONNECTION LIMIT = -1;`, cfg.DbName, cfg.DbUser) +CONNECTION LIMIT = -1; +TEMPLATE template0`, cfg.DbName, cfg.DbUser) fmt.Println(query)