Merge branch 'main' of code.criminallycute.fi:thordinary/docker-compose

This commit is contained in:
--set 2024-07-21 12:34:08 +02:00
commit d083a11b21
6 changed files with 50 additions and 10 deletions

4
naspi/all-start.sh Executable file
View File

@ -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

4
naspi/all-stop.sh Executable file
View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -7,8 +7,11 @@ services:
ports: ports:
- '5080:80' - '5080:80'
image: 'vaultwarden/server:latest' image: 'vaultwarden/server:latest'
restart: unless-stopped
networks: networks:
- proxy - proxy
environment:
ADMIN_TOKEN: ${ADMIN_TOKEN}
networks: networks:
proxy: proxy:
external: true external: true