CHANGE: updated compose file

This commit is contained in:
2025-02-24 23:20:19 +01:00
parent 0bb12318cc
commit db98eecd87
9 changed files with 1691 additions and 427 deletions

View File

@@ -10,8 +10,8 @@ import (
func OpenDatabase() (*sql.DB, error) {
dbHost := helper.GetEnv("POSTGRES_HOST", "localhost")
dbName := helper.GetEnv("POSTGRES_DB", "arbeitszeitmessung")
dbUser := helper.GetEnv("POSTGRES_USER", "arbeit_zeit")
dbPassword := helper.GetEnv("POSTGRES_PASS", "password")
dbUser := helper.GetEnv("POSTGRES_API_USER", "arbeit_zeit")
dbPassword := helper.GetEnv("POSTGRES_API_PASS", "password")
connStr := fmt.Sprintf("postgres://%s:%s@%s:5432/%s?sslmode=disable&TimeZone=Europe/Berlin", dbUser, dbPassword, dbHost, dbName)
return sql.Open("postgres", connStr)

View File

@@ -39,6 +39,7 @@
grid-template-columns: subgrid;
grid-column: 1 / -1;
border-color: var(--color-neutral-400);
transition: background-color 0.2s ease-in-out;
}
.grid-sub:hover {
@@ -56,6 +57,7 @@
margin: 0 10%;
}
.grid-sub {}
.grid-sub {
}
}
}

File diff suppressed because it is too large Load Diff