From 9382fe2af81cc753b6bbf7976bac8eed27839478 Mon Sep 17 00:00:00 2001 From: TheThomaas Date: Sun, 21 May 2023 16:11:06 +0200 Subject: [PATCH] Added files from local source and github --- .env.example | 16 ++++++++++++++++ duckdns/docker-compose.yml | 11 +++++++++++ ftp/docker-compose.yml | 16 ++++++++++++++++ heimdall/docker-compose.yml | 14 ++++++++++++++ ntfy/docker-compose.yml | 18 ++++++++++++++++++ syncthing/docker-compose.yml | 18 ++++++++++++++++++ unifi/docker-compose.yml | 19 +++++++++++++++++++ uptime-kuma/docker-compose.yml | 15 +++++++++++++++ wg-easy/docker-compose.yml | 19 +++++++++++++++++++ 9 files changed, 146 insertions(+) create mode 100644 .env.example create mode 100644 duckdns/docker-compose.yml create mode 100644 ftp/docker-compose.yml create mode 100644 heimdall/docker-compose.yml create mode 100644 ntfy/docker-compose.yml create mode 100644 syncthing/docker-compose.yml create mode 100644 unifi/docker-compose.yml create mode 100644 uptime-kuma/docker-compose.yml create mode 100644 wg-easy/docker-compose.yml diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..e1d11c2 --- /dev/null +++ b/.env.example @@ -0,0 +1,16 @@ +PUID=1000 +PGID=1000 +TZ=Europe/Zurich + +APPDATA=/mnt +SYNCTHINGDATA=/mnt/syncthing + +HOST_IP=192.168.1.100 +WG_HOST=example.duckdns.org + +DDNS_DOMAIN=exampl +DDNS_TOKEN=12341234-1234-1234-1234-123412341234 + +FTP_USERNAME=ftp +FTP_PASSWORD=passwor +FTP_DIR=/ftp \ No newline at end of file diff --git a/duckdns/docker-compose.yml b/duckdns/docker-compose.yml new file mode 100644 index 0000000..9488cf2 --- /dev/null +++ b/duckdns/docker-compose.yml @@ -0,0 +1,11 @@ +services: + duckdns: + image: lscr.io/linuxserver/duckdns:latest + container_name: duckdns + environment: + PUID: $PUID + PGID: $PGID + TZ: $TZ + SUBDOMAINS: $DDNS_DOMAIN + TOKEN: $DDNS_TOKEN + restart: unless-stopped \ No newline at end of file diff --git a/ftp/docker-compose.yml b/ftp/docker-compose.yml new file mode 100644 index 0000000..9fbed0f --- /dev/null +++ b/ftp/docker-compose.yml @@ -0,0 +1,16 @@ +services: + ftp: + image: garethflowers/ftp-server + container_name: ftp-server + volumes: + - $FTP_DIR:/home/${FTP_USERNAME}/shared + environment: + FTP_USER: $FTP_USERNAME + FTP_PASS: $FTP_PASSWORD + ports: + - '20-21:20-21/tcp' + - '40000-40009:40000-40009/tcp' + restart: unless-stopped + +# https://developerinsider.co/auto-mount-drive-in-ubuntu-server-22-04-at-startup/ +# https://levelup.gitconnected.com/set-up-an-ftp-server-with-docker-81432971abab \ No newline at end of file diff --git a/heimdall/docker-compose.yml b/heimdall/docker-compose.yml new file mode 100644 index 0000000..7dd5126 --- /dev/null +++ b/heimdall/docker-compose.yml @@ -0,0 +1,14 @@ +services: + heimdall: + image: lscr.io/linuxserver/heimdall:latest + container_name: heimdall + volumes: + # Config + - $APPDATA/heimdall:/config + environment: + PUID: $PUID + PGID: $PGID + TZ: $TZ + ports: + - 81:80 + restart: unless-stopped \ No newline at end of file diff --git a/ntfy/docker-compose.yml b/ntfy/docker-compose.yml new file mode 100644 index 0000000..cc939da --- /dev/null +++ b/ntfy/docker-compose.yml @@ -0,0 +1,18 @@ +services: + ntfy: + image: binwiederhier/ntfy + container_name: ntfy + volumes: + # Config + - $APPDATA/ntfy/cache:/var/cache/ntfy + - $APPDATA/ntfy/app:/etc/ntfy + environment: + TZ: $TZ + PUID: $PUID + PGID: $PGID + user: "${PUID:-1000}:${PGID:-1000}" + command: + - serve + ports: + - 8081:80 + restart: unless-stopped \ No newline at end of file diff --git a/syncthing/docker-compose.yml b/syncthing/docker-compose.yml new file mode 100644 index 0000000..c70024f --- /dev/null +++ b/syncthing/docker-compose.yml @@ -0,0 +1,18 @@ +services: + syncthing: + image: ghcr.io/linuxserver/syncthing + container_name: syncthing + volumes: + # Config + - $APPDATA/syncthing:/config + # Sync data + - $SYNCTHINGDATA:/data + environment: + PUID: $PUID + PGID: $PGID + TZ: $TZ + ports: + - 8384:8384 + - 22000:22000 + - 21027:21027/udp + restart: unless-stopped \ No newline at end of file diff --git a/unifi/docker-compose.yml b/unifi/docker-compose.yml new file mode 100644 index 0000000..28bb542 --- /dev/null +++ b/unifi/docker-compose.yml @@ -0,0 +1,19 @@ +services: + unifi-controller: + image: lscr.io/linuxserver/unifi-controller:latest + container_name: unifi-controller + volumes: + # Config + - $APPDATA/unifi:/config + environment: + PUID: $PUID + PGID: $PGID + TZ: $TZ + MEM_LIMIT: 1024 + MEM_STARTUP: 1024 + ports: + - 8443:8443 + - 3478:3478/udp + - 10001:10001/udp + - 8080:8080 + restart: unless-stopped diff --git a/uptime-kuma/docker-compose.yml b/uptime-kuma/docker-compose.yml new file mode 100644 index 0000000..24a6a5f --- /dev/null +++ b/uptime-kuma/docker-compose.yml @@ -0,0 +1,15 @@ +services: + uptime-kuma: + image: louislam/uptime-kuma:1 + container_name: uptime-kuma + volumes: + # Config + - $APPDATA/uptime-kuma:/app/data + # Other + - /var/run/docker.sock:/var/run/docker.sock + environment: + PUID: $PUID + PGID: $PGID + ports: + - 3001:3001 + restart: unless-stopped \ No newline at end of file diff --git a/wg-easy/docker-compose.yml b/wg-easy/docker-compose.yml new file mode 100644 index 0000000..40f492c --- /dev/null +++ b/wg-easy/docker-compose.yml @@ -0,0 +1,19 @@ +services: + wg-easy: + image: weejewel/wg-easy + container_name: wg-easy + volumes: + # Config + - $APPDATA/wg-easy:/etc/wireguard + environment: + WG_HOST: $WG_HOST + cap_add: + - NET_ADMIN + - SYS_MODULE + sysctls: + - net.ipv4.ip_forward=1 + - net.ipv4.conf.all.src_valid_mark=1 + ports: + - "51820:51820/udp" + - "51821:51821/tcp" + restart: unless-stopped