diff --git a/.env b/.env deleted file mode 100644 index 2c1f044..0000000 --- a/.env +++ /dev/null @@ -1,4 +0,0 @@ -NEO4J_DB=neo4j://localhost:7687 -NEO4J_USER=neo4j -NEO4J_PASSWORD=password -SERVER_PORT=8080 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..e69de29 diff --git a/cmd/main.go b/cmd/main.go index 7a477fb..9cfd23e 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -7,16 +7,9 @@ import ( "shellcode-db/controllers" "shellcode-db/routes" "shellcode-db/services" - - "github.com/joho/godotenv" ) func main() { - err := godotenv.Load() - if err != nil { - log.Fatalf("error loading file .env: %v", err) - } - port := os.Getenv("SERVER_PORT") databaseURL := os.Getenv("NEO4J_DB") user := os.Getenv("NEO4J_USER")