use docker-compose example yaml

Signed-off-by: Felix Wong <felix@fawong.com>
This commit is contained in:
Felix Wong 2020-04-16 00:32:38 +00:00
parent daa3c1e45c
commit 93b86c8981
No known key found for this signature in database
GPG Key ID: 70DAF469AE63426D
3 changed files with 6 additions and 0 deletions

4
.gitignore vendored
View File

@ -9,6 +9,10 @@ UNKNOWN.egg-info
.env
ci-workspace
.gh-workspace
docker-compose.yml
etc-dnsmasq.d/
etc-pihole/
var-log/
# WIP/test stuff
doco.yml

View File

@ -7,6 +7,7 @@
## Quick Start
1. Copy docker-compose-example.yml to docker-compose.yml and update as needed. See example below:
[Docker-compose](https://docs.docker.com/compose/install/) example:
```yaml
@ -36,6 +37,7 @@ services:
- NET_ADMIN
restart: unless-stopped
```
2. Run `docker-compose up --detach` to build and start pi-hole
[Here is an equivalent docker run script](https://github.com/pi-hole/docker-pi-hole/blob/master/docker_run.sh).