Multiple additions and fixes #12

- Unbound ran as `nonrootuser`
- Readme updated
- auth.conf replaced by `USER` and `PASSWORD` env variables
- Removed Nginx section from readme for now
- Reworked entrypoint with more checks
- Malicious IPs and hostnames building is done at Docker build to gain time at launch
- docker-compose updated to reflect changes
This commit is contained in:
Quentin McGaw
2018-11-14 14:38:10 +02:00
parent 3c79ba33bb
commit d3dc6c74d8
5 changed files with 170 additions and 187 deletions

View File

@@ -10,15 +10,12 @@ services:
- /dev/net/tun
networks:
- pianet
volumes:
- /yourpath/auth.conf:/auth.conf:ro
environment:
- PROTOCOL=tcp
- USER=
- PASSWORD=
- PROTOCOL=udp
- ENCRYPTION=strong
- REGION=CA Montreal
- EXTRA_SUBNETS=
restart: always
networks:
pianet:
external: true