mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-11-24 07:23:38 +00:00
parent
da09321b0e
commit
9d62668fcf
@ -3,6 +3,8 @@ services:
|
|||||||
|
|
||||||
db:
|
db:
|
||||||
image: postgres
|
image: postgres
|
||||||
|
environment:
|
||||||
|
POSTGRES_PASSWORD: 'postgres'
|
||||||
|
|
||||||
web:
|
web:
|
||||||
build: .
|
build: .
|
||||||
|
@ -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',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user