use docker-compose example yaml
Signed-off-by: Felix Wong <felix@fawong.com>
This commit is contained in:
parent
daa3c1e45c
commit
93b86c8981
|
@ -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
|
||||
|
|
|
@ -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).
|
||||
|
||||
|
|
Loading…
Reference in New Issue