-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add duplicati and cloudflare tunnel
- Loading branch information
Showing
8 changed files
with
55 additions
and
17 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
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 @@ | ||
CLOUDFLARE_TOKEN= |
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,7 @@ | ||
# Cloudflare tunnel | ||
|
||
This folder contains a docker-compose file for creating a [Cloudflare tunnel](https://www.cloudflare.com/en-gb/products/tunnel/). This tunnel is used to safely share the ads-b Grafana dashboard with the outside world. Please change the docker network containing the service you exposed in the Zero-Trusts interface. | ||
|
||
## Installation | ||
|
||
First, install [Docker](https://docs.docker.com/get-docker/). Then, add the `CLOUDFLARE_TOKEN` of your Cloudflare tunnel to the `.env` file. Lastly, run the `docker compose up -d` command to start the Cloudflare container. |
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,14 @@ | ||
version: "3.8" | ||
|
||
services: | ||
cloudflare-tunnel: | ||
container_name: cloudflare-tunnel | ||
image: "cloudflare/cloudflared:latest" | ||
command: "tunnel --no-autoupdate run --token $CLOUDFLARE_TOKEN" | ||
restart: unless-stopped | ||
networks: | ||
- adsb-dashboards # The container network to wich the tunnel will be attached. | ||
|
||
networks: | ||
adsb-dashboards: | ||
external: true |
This file was deleted.
Oops, something went wrong.
This file was deleted.
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,7 @@ | ||
# Duplicati: Secure Backup Solution | ||
|
||
Duplicati is a free, cross-platform backup software designed to store encrypted backups online for Windows, macOS, and Linux. Explore its features at [Duplicati](https://www.duplicati.com/). Utilize this software for automated backups of the Prometheus database, with the database mounted under the `/source/prometheus` path. | ||
|
||
## Installation | ||
|
||
To get started, make sure you have [Docker](https://docs.docker.com/get-docker/) installed. Next, initiate the Duplicati container by building and starting it with the `docker compose up -d` command. |
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,25 @@ | ||
version: "3.8" | ||
|
||
services: | ||
duplicati: | ||
image: lscr.io/linuxserver/duplicati:latest | ||
container_name: duplicati | ||
environment: | ||
- PUID=1000 | ||
- PGID=1000 | ||
- TZ=Europe/Brussels | ||
- CLI_ARGS= #optional | ||
volumes: | ||
- /opt/duplicati/config:/config | ||
- duplicati_data:/backups | ||
- prometheus_data:/source/prometheus | ||
ports: | ||
- 8200:8200 | ||
restart: unless-stopped | ||
|
||
volumes: | ||
duplicati_data: | ||
|
||
networks: | ||
default: | ||
name: duplicati |