Skip to content

Commit e100ba6

Browse files
committed
change config to run project locally out of docker
1 parent 1a61d95 commit e100ba6

2 files changed

Lines changed: 766 additions & 2 deletions

File tree

app/core/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33

44
class Settings(BaseModel):
5-
DB_URL: str = "mysql+aiomysql://app:app@mariadb:3306/code"
6-
REDIS_URL: str = "redis://redis:6379/0"
5+
DB_URL: str = "mysql+aiomysql://root:rootpass@localhost:3306/code"
6+
REDIS_URL: str = "redis://localhost:6379/0"
77
SANDBOX_CONTAINER: str = "code-sandbox"
88
EXEC_TIMEOUT: int = 5
99
MAX_OUTPUT: int = 20000

0 commit comments

Comments
 (0)