-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add service template for Blocky * Add default config file * Add Blocky to supported services * Add README
- Loading branch information
1 parent
6ccc364
commit 3b69c9c
Showing
7 changed files
with
82 additions
and
23 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
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
## Blocky | ||
Blocky is a DNS proxy and ad-blocker for the local network written in Go. It offers advanced DNS configuration, high performance, ad-blocking with DNS filters, security and privacy, simple installation and configuration. | ||
|
||
### Setup | ||
Blocky is considered as backend service and can therefore be found in backends collection, when generating the compose configuration with Compose Generator. |
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"label": "Blocky", | ||
"preselected": "false", | ||
"files": [ | ||
{ | ||
"path": "service.yml", | ||
"type": "service" | ||
}, | ||
{ | ||
"path": "README.md", | ||
"type": "docs" | ||
} | ||
], | ||
"questions": [ | ||
{ | ||
"text": "Which port do you want to expose for the Blocky web interface?", | ||
"type": 2, | ||
"defaultValue": "4000", | ||
"validator": "port", | ||
"variable": "BLOCKY_PORT" | ||
}, | ||
{ | ||
"text": "Which version of Blocky do you want to use?", | ||
"type": 2, | ||
"defaultValue": "latest", | ||
"variable": "BLOCKY_VERSION" | ||
} | ||
], | ||
"volumes": [ | ||
{ | ||
"text": "Custom path for Blocky config volume?", | ||
"defaultValue": "./volumes/blocky-config", | ||
"variable": "VOLUME_BLOCKY_CONFIG", | ||
"advanced": true | ||
} | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
TZ=Europe/Berlin |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
image: spx01/blocky:${{BLOCKY_VERSION}} | ||
container_name: ${{PROJECT_NAME_CONTAINER}}-backend-blocky | ||
restart: always | ||
ports: | ||
- 53:53/tcp | ||
- 53:53/udp | ||
- ${{BLOCKY_PORT}}:4000 | ||
volumes: | ||
- ${{VOLUME_BLOCKY_CONFIG}}/config.yml:/app/config.yml | ||
env_file: | ||
- environment.env |
4 changes: 4 additions & 0 deletions
4
predefined-services/backend/blocky/volumes/blocky-config/config.yml
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
upstream: | ||
default: | ||
- 1.1.1.1 | ||
- 1.0.0.1 |