diff --git a/naspi/all-start.sh b/naspi/all-start.sh new file mode 100755 index 0000000..77fef89 --- /dev/null +++ b/naspi/all-start.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +# will skip folders with a leading "_" (indicating not used) +for d in ./[^_]*/ ; do (cd $d && docker compose up -d && cd ..); done diff --git a/naspi/all-stop.sh b/naspi/all-stop.sh new file mode 100755 index 0000000..e04e026 --- /dev/null +++ b/naspi/all-stop.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +# will skip folders with a leading "_" (indicating not used) +for d in ./[^_]*/ ; do (cd $d && docker compose down && cd ..); done diff --git a/naspi/pingvin-share/docker-compose.yml b/naspi/pingvin-share/docker-compose.yml new file mode 100644 index 0000000..721109f --- /dev/null +++ b/naspi/pingvin-share/docker-compose.yml @@ -0,0 +1,20 @@ +version: '3.8' +services: + pingvin-share: + container_name: pingvin-share + image: stonith404/pingvin-share + restart: unless-stopped + ports: + - 3000:3000 + volumes: + - "./data:/opt/app/backend/data" + - "./data/images:/opt/app/frontend/public/img" +# Optional: If you add ClamAV, uncomment the following to have ClamAV start first. +# depends_on: +# clamav: +# condition: service_healthy +# Optional: Add ClamAV (see README.md) +# ClamAV is currently only available for AMD64 see https://github.com/Cisco-Talos/clamav/issues/482 +# clamav: +# restart: unless-stopped +# image: clamav/clamav diff --git a/naspi/startall.sh b/naspi/startall.sh deleted file mode 100755 index f6c143e..0000000 --- a/naspi/startall.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -if [ $(basename $(readlink $PWD)) != $(hostname) ]; then - echo "Incorrect directory for host" - exit 1 -fi - -# will skip folders with a leading "_" (indicating not used) - -for d in ./[^_]*/ ; do (cd $d && docker-compose up -d && cd ..); done diff --git a/naspi/syncthing/docker-compose.yml b/naspi/syncthing/docker-compose.yml new file mode 100644 index 0000000..90a6253 --- /dev/null +++ b/naspi/syncthing/docker-compose.yml @@ -0,0 +1,19 @@ +services: + syncthing: + image: lscr.io/linuxserver/syncthing:latest + container_name: syncthing + hostname: syncthing #optional + environment: + - PUID=1000 + - PGID=1000 + - TZ=Etc/UTC + volumes: + - /mnt/data/storage/syncthing/config:/config + - /mnt/data/storage/syncthing/data:/data + # - /path/to/data2:/data2 + ports: + - 8384:8384 + - 22000:22000/tcp + - 22000:22000/udp + - 21027:21027/udp + restart: unless-stopped diff --git a/naspi/vaultwarden/docker-compose.yml b/naspi/vaultwarden/docker-compose.yml index 741582f..81e398e 100644 --- a/naspi/vaultwarden/docker-compose.yml +++ b/naspi/vaultwarden/docker-compose.yml @@ -7,8 +7,11 @@ services: ports: - '5080:80' image: 'vaultwarden/server:latest' + restart: unless-stopped networks: - proxy + environment: + ADMIN_TOKEN: ${ADMIN_TOKEN} networks: proxy: external: true