File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ services:
11
11
# PostgreSQL Configuration
12
12
POSTGRES_HOST : postgres
13
13
POSTGRES_PORT : 5432
14
- POSTGRES_NAME : todo_postgres
14
+ POSTGRES_DB : todo_postgres
15
15
POSTGRES_USER : todo_user
16
16
POSTGRES_PASSWORD : todo_password
17
17
volumes :
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ DUAL_WRITE_RETRY_DELAY=5 # Delay between retries (seconds)
46
46
# Postgres Configuration
47
47
POSTGRES_HOST=localhost
48
48
POSTGRES_PORT=5432
49
- POSTGRES_NAME =todo_postgres
49
+ POSTGRES_DB =todo_postgres
50
50
POSTGRES_USER=todo_user
51
51
POSTGRES_PASSWORD=todo_password
52
52
```
Original file line number Diff line number Diff line change 22
22
# Postgres Configuration
23
23
POSTGRES_HOST = os .getenv ("POSTGRES_HOST" , "localhost" )
24
24
POSTGRES_PORT = os .getenv ("POSTGRES_PORT" , "5432" )
25
- POSTGRES_NAME = os .getenv ("POSTGRES_NAME " , "todo_postgres" )
25
+ POSTGRES_DB = os .getenv ("POSTGRES_DB " , "todo_postgres" )
26
26
POSTGRES_USER = os .getenv ("POSTGRES_USER" , "todo_user" )
27
27
POSTGRES_PASSWORD = os .getenv ("POSTGRES_PASSWORD" , "todo_password" )
28
28
167
167
DATABASES = {
168
168
"default" : {
169
169
"ENGINE" : "django.db.backends.postgresql" ,
170
- "NAME" : POSTGRES_NAME ,
170
+ "NAME" : POSTGRES_DB ,
171
171
"USER" : POSTGRES_USER ,
172
172
"PASSWORD" : POSTGRES_PASSWORD ,
173
173
"HOST" : POSTGRES_HOST ,
You can’t perform that action at this time.
0 commit comments