mirror of https://github.com/docker/docs.git
POSTGRES_NAME should be POSTGRES_DB
POSTGRES_NAME should be POSTGRES_DB for the db service
This commit is contained in:
parent
221230797e
commit
38620ab589
|
@ -76,7 +76,7 @@ and a `docker-compose.yml` file. (You can use either a `.yml` or `.yaml` extensi
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/db:/var/lib/postgresql/data
|
- ./data/db:/var/lib/postgresql/data
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_NAME=postgres
|
- POSTGRES_DB=postgres
|
||||||
- POSTGRES_USER=postgres
|
- POSTGRES_USER=postgres
|
||||||
- POSTGRES_PASSWORD=postgres
|
- POSTGRES_PASSWORD=postgres
|
||||||
web:
|
web:
|
||||||
|
|
Loading…
Reference in New Issue