-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update openvpn, docker base image and easy-rsa
- Loading branch information
Showing
13 changed files
with
414 additions
and
318 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# Contribution Guidelines | ||
|
||
Contributions are highly appreciated as I'm right now not that experience with docker / docker-compose! | ||
If you have an idea of how to improve it feel free to [open an issue](https://github.com/Simonwep/openvpn-pihole/issues/new)! | ||
If you have an idea of how to improve it feel free to [open an issue](https://github.com/simonwep/openvpn-pihole/issues/new)! | ||
|
||
1. Please follow the instructions in the [readme](https://github.com/Simonwep/openvpn-pihole) for how to set up this project. | ||
2. If you're making docker/docker-compose related changes please make sure it works with the version I used (see the [setup](https://github.com/Simonwep/openvpn-pihole#setup) in the readme). | ||
1. Please follow the instructions in the [readme](https://github.com/simonwep/openvpn-pihole) for how to set up this project. | ||
2. If you're making docker/docker-compose related changes please make sure it works with the version I used (see the [setup](https://github.com/simonwep/openvpn-pihole#setup) in the readme). | ||
3. Every feature-request / bug-fix needs its own branch - **never update master directly!**. | ||
4. I'm using 4 spaces for `.yml` and `.sh` files - please make sure you're doing the same ;) | ||
5. Right now I'm not running any tests agains the docker-image, if this thing gets bigger this will change until then just make sure the build succeeds. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
github: Simonwep | ||
github: simonwep | ||
patreon: simonwep | ||
custom: ["paypal.me/simonreinisch", "buymeacoffee.com/aVc3krbXQ"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,46 @@ | ||
version: "3.5" | ||
|
||
services: | ||
openvpn: | ||
container_name: openvpn | ||
build: ./openvpn-docker | ||
ports: | ||
- "1194:1194/udp" | ||
networks: | ||
vpn-net: | ||
ipv4_address: 172.20.0.3 | ||
environment: | ||
REQ_COUNTRY: US | ||
REQ_PROVINCE: California | ||
REQ_CITY: San Francisco | ||
REQ_ORG: Copyleft Certificate Co | ||
REQ_OU: My Organizational Unit | ||
REQ_CN: MyOpenVPN | ||
volumes: | ||
- ./openvpn/pki:/etc/openvpn/pki | ||
- ./openvpn/clients:/etc/openvpn/clients | ||
- ./openvpn/config:/etc/openvpn/config | ||
cap_add: | ||
- NET_ADMIN | ||
restart: unless-stopped | ||
openvpn: | ||
container_name: openvpn | ||
build: ./openvpn-docker | ||
ports: | ||
- "1194:1194/udp" | ||
networks: | ||
vpn-net: | ||
ipv4_address: 172.20.0.3 | ||
volumes: | ||
- ./openvpn/pki:/etc/openvpn/pki | ||
- ./openvpn/clients:/etc/openvpn/clients | ||
- ./openvpn/config:/etc/openvpn/config | ||
cap_add: | ||
- NET_ADMIN | ||
restart: unless-stopped | ||
|
||
pihole: | ||
container_name: pihole | ||
image: pihole/pihole:latest | ||
depends_on: | ||
- "openvpn" | ||
networks: | ||
vpn-net: | ||
ipv4_address: 172.20.0.2 | ||
environment: | ||
TZ: "Europe/Berlin" | ||
WEBPASSWORD: "password" | ||
DNS1: 208.67.222.222 # OpenDNS | ||
DNS2: 208.67.220.220 | ||
ServerIP: 172.20.0.2 | ||
volumes: | ||
- ./pihole/pihole:/etc/pihole | ||
- ./pihole/dnsmasq.d:/etc/dnsmasq.d | ||
cap_add: | ||
- NET_ADMIN | ||
restart: unless-stopped | ||
pihole: | ||
container_name: pihole | ||
image: pihole/pihole:latest | ||
depends_on: | ||
- "openvpn" | ||
networks: | ||
vpn-net: | ||
ipv4_address: 172.20.0.2 | ||
environment: | ||
TZ: "Europe/Berlin" | ||
WEBPASSWORD: "password" | ||
DNS1: 208.67.222.222 # OpenDNS | ||
DNS2: 208.67.220.220 | ||
ServerIP: 172.20.0.2 | ||
volumes: | ||
- ./pihole/pihole:/etc/pihole | ||
- ./pihole/dnsmasq.d:/etc/dnsmasq.d | ||
cap_add: | ||
- NET_ADMIN | ||
restart: unless-stopped | ||
|
||
networks: | ||
vpn-net: | ||
driver: bridge | ||
ipam: | ||
driver: default | ||
config: | ||
- subnet: 172.20.0.0/16 | ||
vpn-net: | ||
driver: bridge | ||
ipam: | ||
driver: default | ||
config: | ||
- subnet: 172.20.0.0/16 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.