first commit

This commit is contained in:
2025-09-07 10:42:52 +08:00
commit b9204bbe2b
3 changed files with 91 additions and 0 deletions

42
aria2/docker-compose.yml Normal file
View File

@@ -0,0 +1,42 @@
# merged.
# for manual deploy, see https://www.cnblogs.com/wqp001/p/14709997.html
services:
aria2:
image: p3terx/aria2-pro
container_name: aria2
# haven't test. I just keep using individual containers.
logging:
driver: json-file
options:
max-size: 1m
volumes:
- $HOME/.config/aria2:/config
# Don't really understand differences between attaching with bind-mounting =.=
# - $HOME/_downloads:/downloads
- type: bind
source: $HOME/_downloads
target: /downloads
restart: 'unless-stopped'
# Optional - alternative address used for autodiscovery
# hidden.
environment:
- PUID=$UID
- PGID=$UID
- UMASK_SET=022
ports:
- 16800:6800
- 16888:6888
- 16888:6888/udp
ariang:
image: p3terx/ariang
container_name: ariang
# haven't test. I just keep using individual containers.
logging:
driver: json-file
options:
max-size: 1m
restart: 'unless-stopped'
ports:
- 16880:6880

View File

@@ -0,0 +1,29 @@
services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
network_mode: 'host'
volumes:
# manual replace
- $HOME/.config/jellyfin:/config
- jellyfin-cache:/cache
- type: bind
source: /media
target: /media
# Optional - extra fonts to be used during transcoding with subtitle burn-in
# just use Noto fonts.
- type: bind
source: /usr/share/fonts/opentype
target: /usr/local/share/fonts/custom
read_only: true
restart: 'unless-stopped'
# Optional - alternative address used for autodiscovery
# hidden.
environment:
- JELLYFIN_PublishedServerUrl=https://blablabla.local
# Optional - may be necessary for docker healthcheck to pass if running in host network mode
extra_hosts:
- 'host.docker.internal:host-gateway'
volumes:
jellyfin-cache:
driver: local

20
readme.md Normal file
View File

@@ -0,0 +1,20 @@
# server-svc-sources
2506 整好的 Ubuntu Server整了些啥连我自己都记不太全。
- Services 应用上层:服务
- Webmin 在线面板(说实话这种 dashboard 或者 monitor 不知道哪个好用)
- Jellyfin 直接拉 Docker
- 记得重新配 frp
- aria2 直接拉 Docker
- 配置文件基本上参照各路博客去缝,然后按 p3terx 的示例重新排序一下。
- 有无壬浇浇`bash <(curl -fsSL git.io/tracker.sh) RPC '127.0.0.1:16800'`枕么写 cron jobs
- OBS 直播插件(`frg2089/BiliLive.Observer`)后端,写个用户级 systemd service。
- 剩下的真想不起来了=。=
- Frameworks 应用中层:框架
- Docker 懂的都懂。
- 去他喵的镜像源。`/etc/docker/daemon.json`直接配个代理。
- NodeJS 用户级安装,仲有别的跨平台 SDK。
- Networks 应用下层:网络服务
- zerotier 略。
- mihomo 略。配置照抄GeoXX 要什么直接下载了重命名扔进去。