This commit is contained in:
wsq 2024-08-26 07:13:14 -04:00
commit 8ec2ab083d
1841 changed files with 24214 additions and 0 deletions

12
bookbrowser/docker-compose.yaml Executable file
View File

@ -0,0 +1,12 @@
---
services:
bookbrowser:
image: dezhao/bookbrowser_cn:latest
container_name: bookbrowser
volumes:
- /mnt/disk1/books:/books
ports:
- 4004:8090
restart: always

BIN
filebrowser/database.db Executable file

Binary file not shown.

15
filebrowser/docker-compose.yaml Executable file
View File

@ -0,0 +1,15 @@
---
services:
filebrowser:
image: filebrowser/filebrowser:latest
container_name: filebrowser
volumes:
- /mnt/disk1:/srv/disk1
- /mnt/disk2:/srv/disk2
- /home/wsq/docker_app/filebrowser/database.db:/database.db #need to touch
ports:
- 4010:80
shm_size: "1gb"
restart: always

13
firefox/docker-compose.yaml Executable file
View File

@ -0,0 +1,13 @@
---
services:
firefox:
image: linuxserver/firefox:latest
container_name: firefox
ports:
- 4040:3000
- 4041:3001
volumes:
- /mnt/disk1/downloads:/config/Downloads
- /mnt/disk1/videos/animedownloader:/config/animedownloader
shm_size: "2gb"
restart: always

13
gitea/docker-compose.yaml Executable file
View File

@ -0,0 +1,13 @@
---
services:
gitea:
image: gitea/gitea:latest
container_name: gitea
volumes:
- /mnt/disk1/gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "4008:3000"
- "40080:22"
restart: always

16
glances/docker-compose.yaml Executable file
View File

@ -0,0 +1,16 @@
---
services:
glances:
image: nicolargo/glances:latest-full
container_name: glances
environment:
- GLANCES_OPT=-w
pid: host
ports:
- 4011:61208
- 4012:61209
volumes:
- ./config/glances.conf:/glances/conf/glances.conf
- /:/host:ro
- /etc/os-release:/etc/os-release:ro
restart: always

17
homepage/config/bookmarks.yaml Executable file
View File

@ -0,0 +1,17 @@
---
- 书签:
- HomePage:
- icon: /icons/homepage.png
href: https://gethomepage.dev/latest/
- DockerHub:
- icon: /icons/dockerhub.png
href: https://hub.docker.com/
- Docker Image Download:
- icon: /icons/docker_img_download.png
href: https://github.com/ShqWW/DockerTarBuilder/actions/workflows/amd64.yml
- Github:
- icon: /icons/github.png
href: https://github.com/

0
homepage/config/custom.css Executable file
View File

0
homepage/config/custom.js Executable file
View File

10
homepage/config/docker.yaml Executable file
View File

@ -0,0 +1,10 @@
---
# For configuration options and examples, please see:
# https://gethomepage.dev/latest/configs/docker/
# manage-dockerr:
# host: 127.0.0.1
# port: 2375
manage-docker:
socket: /var/run/docker.sock

View File

@ -0,0 +1,2 @@
---
# sample kubernetes config

220
homepage/config/services.yaml Executable file
View File

@ -0,0 +1,220 @@
---
# For configuration options and examples, please see:
# https://gethomepage.dev/en/configs/services
- 面板l:
- 处理器:
icon: /icons/cpu.png
widget:
type: glances
url: http://192.168.164.189:4011
metric: cpu
version: 4
- 系统 I/0:
icon: /icons/nvme.png
widget:
type: glances
url: http://192.168.164.189:4011
metric: disk:nvme0n1
version: 4
- 存储A I/O:
icon: /icons/storage.png
widget:
type: glances
url: http://192.168.164.189:4011
metric: disk:sda
version: 4
# - 有线Lan:
# icon: /icons/lan.png
# widget:
# type: glances
# url: http://192.168.164.189:4011
# metric: network:lo
# version: 4
- 面板r:
- 内存:
icon: /icons/memory.png
widget:
type: glances
url: http://192.168.164.189:4011
metric: memory
version: 4
- 无线WLan:
icon: /icons/wlan.png
widget:
type: glances
url: http://192.168.164.189:4011
metric: network:eth0
version: 4
- 存储B I/O:
icon: /icons/storage.png
widget:
type: glances
url: http://192.168.164.189:4011
metric: disk:sdb
version: 4
- 日历:
- 日历:
icon: /icons/calendar.png
widget:
type: calendar
firstDayInWeek: Monday
view: monthly
maxEvents: 10
showTime: true
timezone: Asia/Shanghai
- NAS管理:
- Debian:
icon: /icons/debian.png
href: https://192.168.164.189:9090
# description: Cockpit Web后台管理
siteMonitor: https://192.168.164.189:9090
widget:
type: glances
url: http://192.168.164.189:4011
metric: info
version: 4
- Portainer:
icon: /icons/portainer.png
href: http://192.168.164.189:4001
description: Docker管理。
siteMonitor: http://192.168.164.189:4001
server: manage-docker
container: portainer
widget:
type: portainer
url: http://192.168.164.189:4001
env: 2
key: ptr_ecOg/YjwG340TBXI1u6eOez8ujkTahLhYp3U9t7l0rM=
- 进程:
icon: /icons/list.png
widget:
type: glances
url: http://192.168.164.189:4011
metric: process
version: 4
- 多媒体:
- Immich:
icon: /icons/immich.png
href: http://192.168.164.189:4002
description: 图片管理。
siteMonitor: http://192.168.164.189:4002
server: manage-docker
container: immich_server
widget:
type: immich
url: http://192.168.164.189:4002
key: sRKi3SW6gAyApTD6S9oVCKVGi82nPaRCPD61p7E1B8
- Jellyfin:
icon: /icons/jellyfin.png
href: http://192.168.164.189:4003
description: 影音播放。
siteMonitor: http://192.168.164.189:4003
server: manage-docker
container: jellyfin
widget:
type: jellyfin
url: http://192.168.164.189:4003
key: 9be8360675104bc5a6bebe790f67a67b
enableBlocks: true # optional, defaults to false
enableNowPlaying: true # optional, defaults to true
enableUser: true # optional, defaults to false
showEpisodeNumber: true # optional, defaults to false
expandOneStreamToTwoRows: false # optional, defaults to true
- 文档管理:
- Gitea:
icon: /icons/gitea.png
href: http://192.168.164.189:4008
description: 代码管理服务。
siteMonitor: http://192.168.164.189:4008
server: manage-docker
container: gitea
# widget:
# type: customapi
# url: http://192.168.164.189:4008/api/v1
# headers: "token a1eb9dfbefe37b32e7442e98cf9e976eebf24db4"
# mappings:
# - field: key # needs to be YAML string or object
# label: Field 1
# format: text # optional - defaults to text
# http://192.168.164.189:4008/api/v1/users/wsq/activities/feed?access_token=a1eb9dfbefe37b32e7442e98cf9e976eebf24db4
- BookBrowser:
icon: /icons/book.png
href: http://192.168.164.189:4004
description: 书籍漫画浏览。
siteMonitor: http://192.168.164.189:4004
server: manage-docker
container: bookbrowser
- 下载服务:
- Qbittorrent:
icon: /icons/qbittorrent.png
href: http://192.168.164.189:4009
description: 下载器。
siteMonitor: http://192.168.164.189:4009
server: manage-docker
container: qbittorrent
widget:
type: qbittorrent
url: http://192.168.164.189:4009
username: wsq
password: 563826
- 系统工具:
- File Browser:
icon: /icons/filebrowser.png
href: http://192.168.164.189:4010
description: Web版文件浏览器
siteMonitor: http://192.168.164.189:4010
server: manage-docker
container: filebrowser
- Firefox:
icon: /icons/firefox.png
href: https://192.168.164.189:4041
description: Web版Firefox浏览器。
siteMonitor: https://192.168.164.189:4041
server: manage-docker
container: firefox
- Glances:
icon: /icons/glances.png
href: http://192.168.164.189:4011
description: Web版系统资源监测
siteMonitor: http://192.168.164.189:4011

80
homepage/config/settings.yaml Executable file
View File

@ -0,0 +1,80 @@
---
# For configuration options and examples, please see:
# https://gethomepage.dev/en/configs/settings
language: zh-CN
title: MyNAS
favicon: /icons/server.png
# useEqualHeights: true
logpath: /config
hideVersion: true
background:
# image: https://images.unsplash.com/photo-1502790671504-542ad42d5189?auto=format&fit=crop&w=2560&q=80
image: /icons/wallpaper.png
blur: sm # sm, "", md, xl... see https://tailwindcss.com/docs/backdrop-blur
saturate: 100 # 0, 50, 100... see https://tailwindcss.com/docs/backdrop-saturate
brightness: 50 # 0, 50, 75... see https://tailwindcss.com/docs/backdrop-brightness
opacity: 50 # 0-100
cardBlur: md # sm, "", md, etc... see https://tailwindcss.com/docs/backdrop-blur
layout:
日历:
style: colume
columes: 3
header: false
iconStyle: defaults
NAS管理:
style: colume
columes: 3
header: false
iconStyle: defaults
面板l:
style: colume
header: false
columes: 3
iconStyle: defaults
面板r:
style: colume
header: false
columes: 3
iconStyle: defaults
多媒体:
style: colume
columes: 3
iconStyle: defaults
文档管理:
style: colume
columes: 3
iconStyle: defaults
下载服务:
style: colume
columes: 3
iconStyle: defaults
系统工具:
style: colume
columes: 3
iconStyle: defaults
书签:
style: row
columns: 4

48
homepage/config/widgets.yaml Executable file
View File

@ -0,0 +1,48 @@
---
# For configuration options and examples, please see:
# https://gethomepage.dev/latest/configs/widgets
- logo:
icon: /icons/server2.png
# 获取系统运行状态
- resources:
# label: 系统状态
expanded: true
cpu: false
memory: false
uptime: true
cputemp: true
units: metric # only used by cpu temp
refresh: 3000 # optional, in ms
# 获取磁盘容量状态,多磁盘需提前映射进容器中。
- resources:
# label: 存储空间
expanded: true
disk:
- /
- /volume_1
- /volume_2
# 设置搜索工具
- search:
provider: [baidu, google, bing]
target: _blank
# # 设置天气
# - openmeteo:
# label: 西安 # optional
# latitude: 34.27 # Guangzhou's latitude
# longitude: 108.93 # Guangzhou's longitude
# timezone: Asia/Shanghai # China Standard Time
# units: metric # or imperial
# cache: 5 # Time in minutes to cache API responses, to stay within limits
# 设置日期和时间
- datetime:
text_size: xl
locale: zh-CN
format:
dateStyle: long # long or short
timeStyle: short # long or short
hourCycle: h23

14
homepage/docker-compose.yaml Executable file
View File

@ -0,0 +1,14 @@
---
services:
homepage:
image: ghcr.io/gethomepage/homepage
container_name: homepage
ports:
- 4000:3000
volumes:
- ./config:/app/config
- ./icons:/app/public/icons
- /var/run/docker.sock:/var/run/docker.sock
- /mnt/disk1:/volume_1:ro
- /mnt/disk2:/volume_2:ro
restart: always

BIN
homepage/icons/book.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

BIN
homepage/icons/calendar.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

BIN
homepage/icons/cpu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

BIN
homepage/icons/debian.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

BIN
homepage/icons/filebrowser.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

BIN
homepage/icons/firefox.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 KiB

BIN
homepage/icons/gitea.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
homepage/icons/github.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

BIN
homepage/icons/glances.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

BIN
homepage/icons/harddisk.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

BIN
homepage/icons/hdd.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
homepage/icons/homepage.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
homepage/icons/immich.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

BIN
homepage/icons/jellyfin.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

BIN
homepage/icons/lan.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
homepage/icons/list.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
homepage/icons/memory.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
homepage/icons/nvme.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
homepage/icons/portainer.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

BIN
homepage/icons/qbittorrent.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

BIN
homepage/icons/server.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

BIN
homepage/icons/server2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
homepage/icons/storage.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 474 KiB

BIN
homepage/icons/wlan.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

22
immich/.env Executable file
View File

@ -0,0 +1,22 @@
# You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables
# The location where your uploaded files are stored
UPLOAD_LOCATION=/mnt/disk1/immich
EXTERNAL_LOCATION=/mnt/disk1/picture
# The location where your database files are stored
DB_DATA_LOCATION=./postgres
# To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
# TZ=Etc/UTC
# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=release
# Connection secret for postgres. You should change it to a random password
# Please use only the characters `A-Za-z0-9`, without special characters or spaces
DB_PASSWORD=postgres
# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich

0
immich/cache Executable file
View File

77
immich/docker-compose.yaml Executable file
View File

@ -0,0 +1,77 @@
#
# WARNING: Make sure to use the docker-compose.yml of the current release:
#
# https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
#
# The compose file on main may not be compatible with the latest release.
#
name: immich
services:
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
# extends:
# file: hwaccel.transcoding.yml
# service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
volumes:
# Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- ${EXTERNAL_LOCATION}:/usr/src/app/external
- /etc/localtime:/etc/localtime:ro
env_file:
- .env
ports:
- 4002:3001
depends_on:
- redis
- database
restart: always
healthcheck:
disable: false
immich-machine-learning:
container_name: immich_machine_learning
# For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag.
# Example tag: ${IMMICH_VERSION:-release}-cuda
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
# extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration
# file: hwaccel.ml.yml
# service: cpu # set to one of [armnn, cuda, openvino, openvino-wsl] for accelerated inference - use the `-wsl` version for WSL2 where applicable
volumes:
- model-cache:/cache
env_file:
- .env
restart: always
healthcheck:
disable: false
redis:
container_name: immich_redis
image: docker.io/redis:6.2-alpine@sha256:e3b17ba9479deec4b7d1eeec1548a253acc5374d68d3b27937fcfe4df8d18c7e
healthcheck:
test: redis-cli ping || exit 1
restart: always
database:
container_name: immich_postgres
image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_DB: ${DB_DATABASE_NAME}
POSTGRES_INITDB_ARGS: '--data-checksums'
volumes:
# Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file
- ${DB_DATA_LOCATION}:/var/lib/postgresql/data
healthcheck:
test: pg_isready --dbname='${DB_DATABASE_NAME}' --username='${DB_USERNAME}' || exit 1; Chksum="$$(psql --dbname='${DB_DATABASE_NAME}' --username='${DB_USERNAME}' --tuples-only --no-align --command='SELECT COALESCE(SUM(checksum_failures), 0) FROM pg_stat_database')"; echo "checksum failure count is $$Chksum"; [ "$$Chksum" = '0' ] || exit 1
interval: 5m
# start_interval: 30s
start_period: 5m
command: ["postgres", "-c", "shared_preload_libraries=vectors.so", "-c", 'search_path="$$user", public, vectors', "-c", "logging_collector=on", "-c", "max_wal_size=2GB", "-c", "shared_buffers=512MB", "-c", "wal_compression=on"]
restart: always
volumes:
model-cache:

1
immich/postgres/PG_VERSION Executable file
View File

@ -0,0 +1 @@
14

BIN
immich/postgres/base/1/112 Executable file

Binary file not shown.

BIN
immich/postgres/base/1/113 Executable file

Binary file not shown.

BIN
immich/postgres/base/1/1247 Executable file

Binary file not shown.

BIN
immich/postgres/base/1/1247_fsm Executable file

Binary file not shown.

BIN
immich/postgres/base/1/1247_vm Executable file

Binary file not shown.

BIN
immich/postgres/base/1/1249 Executable file

Binary file not shown.

BIN
immich/postgres/base/1/1249_fsm Executable file

Binary file not shown.

BIN
immich/postgres/base/1/1249_vm Executable file

Binary file not shown.

BIN
immich/postgres/base/1/1255 Executable file

Binary file not shown.

BIN
immich/postgres/base/1/1255_fsm Executable file

Binary file not shown.

BIN
immich/postgres/base/1/1255_vm Executable file

Binary file not shown.

BIN
immich/postgres/base/1/1259 Executable file

Binary file not shown.

BIN
immich/postgres/base/1/1259_fsm Executable file

Binary file not shown.

BIN
immich/postgres/base/1/1259_vm Executable file

Binary file not shown.

BIN
immich/postgres/base/1/13598 Executable file

Binary file not shown.

BIN
immich/postgres/base/1/13598_fsm Executable file

Binary file not shown.

BIN
immich/postgres/base/1/13598_vm Executable file

Binary file not shown.

0
immich/postgres/base/1/13601 Executable file
View File

BIN
immich/postgres/base/1/13602 Executable file

Binary file not shown.

BIN
immich/postgres/base/1/13603 Executable file

Binary file not shown.

BIN
immich/postgres/base/1/13603_fsm Executable file

Binary file not shown.

BIN
immich/postgres/base/1/13603_vm Executable file

Binary file not shown.

0
immich/postgres/base/1/13606 Executable file
View File

BIN
immich/postgres/base/1/13607 Executable file

Binary file not shown.

BIN
immich/postgres/base/1/13608 Executable file

Binary file not shown.

BIN
immich/postgres/base/1/13608_fsm Executable file

Binary file not shown.

BIN
immich/postgres/base/1/13608_vm Executable file

Binary file not shown.

0
immich/postgres/base/1/13611 Executable file
View File

BIN
immich/postgres/base/1/13612 Executable file

Binary file not shown.

BIN
immich/postgres/base/1/13613 Executable file

Binary file not shown.

BIN
immich/postgres/base/1/13613_fsm Executable file

Binary file not shown.

BIN
immich/postgres/base/1/13613_vm Executable file

Binary file not shown.

0
immich/postgres/base/1/13616 Executable file
View File

BIN
immich/postgres/base/1/13617 Executable file

Binary file not shown.

0
immich/postgres/base/1/1417 Executable file
View File

0
immich/postgres/base/1/1418 Executable file
View File

BIN
immich/postgres/base/1/174 Executable file

Binary file not shown.

BIN
immich/postgres/base/1/175 Executable file

Binary file not shown.

BIN
immich/postgres/base/1/2187 Executable file

Binary file not shown.

0
immich/postgres/base/1/2224 Executable file
View File

BIN
immich/postgres/base/1/2228 Executable file

Binary file not shown.

0
immich/postgres/base/1/2328 Executable file
View File

0
immich/postgres/base/1/2336 Executable file
View File

BIN
immich/postgres/base/1/2337 Executable file

Binary file not shown.

BIN
immich/postgres/base/1/2579 Executable file

Binary file not shown.

BIN
immich/postgres/base/1/2600 Executable file

Binary file not shown.

BIN
immich/postgres/base/1/2600_fsm Executable file

Binary file not shown.

BIN
immich/postgres/base/1/2600_vm Executable file

Binary file not shown.

BIN
immich/postgres/base/1/2601 Executable file

Binary file not shown.

BIN
immich/postgres/base/1/2601_fsm Executable file

Binary file not shown.

BIN
immich/postgres/base/1/2601_vm Executable file

Binary file not shown.

BIN
immich/postgres/base/1/2602 Executable file

Binary file not shown.

BIN
immich/postgres/base/1/2602_fsm Executable file

Binary file not shown.

BIN
immich/postgres/base/1/2602_vm Executable file

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More