mirror of
https://github.com/yeasy/docker_practice.git
synced 2025-08-01 21:41:45 +00:00
@@ -3,6 +3,8 @@ services:
|
||||
|
||||
db:
|
||||
image: postgres
|
||||
environment:
|
||||
POSTGRES_PASSWORD: 'postgres'
|
||||
|
||||
web:
|
||||
build: .
|
||||
|
@@ -35,6 +35,8 @@ services:
|
||||
|
||||
db:
|
||||
image: postgres
|
||||
environment:
|
||||
POSTGRES_PASSWORD: 'postgres'
|
||||
|
||||
web:
|
||||
build: .
|
||||
@@ -78,6 +80,7 @@ DATABASES = {
|
||||
'USER': 'postgres',
|
||||
'HOST': 'db',
|
||||
'PORT': 5432,
|
||||
'PASSWORD': 'postgres',
|
||||
}
|
||||
}
|
||||
```
|
||||
|
Reference in New Issue
Block a user