Introducing Postgresql for persistance
Build and Push Docker Image / build-and-push (push) Failing after 32s

This commit is contained in:
Tudor Sitaru committed 2026-01-06 17:15:43 +00:00
1 parent bd3640d50f
commit 52fbade30c
6 files changed
+492 -213

No files matched your search

+4 -1
View File
@@ -4,7 +4,7 @@ Loads from environment variables and .env file.
"""
from pathlib import Path
from typing import List
from typing import List, Optional
from pydantic_settings import BaseSettings
import os
@@ -20,6 +20,9 @@ class Settings(BaseSettings):
host: str = "0.0.0.0"
port: int = 80
# Database
database_url: str = "postgresql://schoolcompare:schoolcompare@localhost:5432/schoolcompare"
# CORS
allowed_origins: List[str] = ["https://schoolcompare.co.uk", "http://localhost:8000", "http://localhost:3000"]