feat: añadido docker compose y los dockerfile para las builds

This commit is contained in:
fede committed 2026-06-12 01:59:24 -03:00
1 parent b9b04db154
commit 2e18319893
10 files changed
+300 -67

No files matched your search

+4 -5
View File
@@ -2,7 +2,6 @@ package config
import (
"fmt"
"log"
"net/url"
"os"
@@ -16,10 +15,10 @@ var DB *gorm.DB
func InitDB() error {
var err error
err = godotenv.Load()
if err != nil {
log.Fatal("Error loading .env file")
}
_ = godotenv.Load()
// if err != nil {
// log.Fatal("Error loading .env file")
// }
pass := url.QueryEscape(os.Getenv("DBPASS"))