Add docker hub explanation, remove volumes from docker-compose (#221)

* Update docker-compose.yml

* Update README.md
This commit is contained in:
majerus1223 2019-07-03 14:18:44 -05:00 committed by Federico Dossena
parent 12a66b2bc1
commit 56352a8223
2 changed files with 11 additions and 2 deletions

View file

@ -25,6 +25,14 @@ Works with mobile versions too.
![Screenshot](https://speedtest.fdossena.com/mpot_v5.gif)
## Docker Hub
```
Utlize the docker-compose.yml provided
$ docker-compose up
```
## Docker + Docker Compose
The project includes a basic `docker-compose.yml` for development. To run, execute the following:

View file

@ -6,5 +6,6 @@ services:
image: adolfintel/speedtest:${TAG:-latest}
ports:
- "8888:80"
volumes:
- .:/var/www/html
# Should only be declared if you have a custom configuration. 404 errors thrown if misconfigured
#volumes:
#- .:/var/www/html