Signed-off-by: Kang Huaishuai <khs1994@khs1994.com>
pull/481/head
Kang Huaishuai 2020-12-09 23:49:26 +08:00
parent da09321b0e
commit 9d62668fcf
No known key found for this signature in database
GPG Key ID: 5E515022F565DA09
2 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,8 @@ services:
db: db:
image: postgres image: postgres
environment:
POSTGRES_PASSWORD: 'postgres'
web: web:
build: . build: .

View File

@ -35,6 +35,8 @@ services:
db: db:
image: postgres image: postgres
environment:
POSTGRES_PASSWORD: 'postgres'
web: web:
build: . build: .
@ -78,6 +80,7 @@ DATABASES = {
'USER': 'postgres', 'USER': 'postgres',
'HOST': 'db', 'HOST': 'db',
'PORT': 5432, 'PORT': 5432,
'PASSWORD': 'postgres',
} }
} }
``` ```