Update docker compose examples (#4816)

The docker compose examples have you create a service called 'web', which will create web_1 docker container.  Other references within the documents say to run `docker restart home-assistant`, yet this docker container does not exist when using the docker compose examples.  Updated compose so they will have a standard name for the container that is created.
This commit is contained in:
Matt F 2018-03-06 15:35:31 -06:00 committed by Fabian Affolter
parent f50be7c5e8
commit 5cd3526d56

View File

@ -92,7 +92,8 @@ As the docker command becomes more complex, switching to `docker-compose` can be
```yaml
version: '3'
services:
web:
homeassistant:
container_name: home-assistant
image: homeassistant/home-assistant
volumes:
- /path/to/your/config:/config
@ -120,7 +121,8 @@ or in a `docker-compose.yml` file:
```yaml
version: '3'
services:
web:
homeassistant:
container_name: home-assistant
image: homeassistant/home-assistant
volumes:
- /path/to/your/config:/config