mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-12-22 08:44:28 +01:00
Add dufs
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
4dc0d9f56a
commit
0745869554
3
Makefile
3
Makefile
@ -14,9 +14,10 @@
|
|||||||
DOCKER := docker
|
DOCKER := docker
|
||||||
|
|
||||||
TORRENTS_SERVICES := qbittorrent transmission
|
TORRENTS_SERVICES := qbittorrent transmission
|
||||||
SHARING_SERVICES := psitransfer picoshare privatebin projectsend jellyfin
|
SHARING_SERVICES := psitransfer picoshare privatebin projectsend jellyfin dufs
|
||||||
ADMIN_SERVICES := yacht uptime-kuma adminer
|
ADMIN_SERVICES := yacht uptime-kuma adminer
|
||||||
UTILS_SERVICES := it-tools
|
UTILS_SERVICES := it-tools
|
||||||
|
# stirlingpdf
|
||||||
|
|
||||||
PROFILES := caddy wordpress syncthing gitea homepage $(SHARING_SERVICES) $(TORRENTS_SERVICES) $(ADMIN_SERVICES) $(UTILS_SERVICES)
|
PROFILES := caddy wordpress syncthing gitea homepage $(SHARING_SERVICES) $(TORRENTS_SERVICES) $(ADMIN_SERVICES) $(UTILS_SERVICES)
|
||||||
PROFILE_CMD := $(addprefix --profile ,$(PROFILES))
|
PROFILE_CMD := $(addprefix --profile ,$(PROFILES))
|
||||||
|
@ -129,6 +129,10 @@ projectsend.bensuperpc.org {
|
|||||||
reverse_proxy projectsend:80
|
reverse_proxy projectsend:80
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dufs.bensuperpc.org {
|
||||||
|
reverse_proxy dufs:5000
|
||||||
|
}
|
||||||
|
|
||||||
link.bensuperpc.org {
|
link.bensuperpc.org {
|
||||||
# TODO: Use service with database
|
# TODO: Use service with database
|
||||||
# Friendly links
|
# Friendly links
|
||||||
|
31
infrastructure/dufs/docker-compose.dufs.yml
Normal file
31
infrastructure/dufs/docker-compose.dufs.yml
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
services:
|
||||||
|
# dufs
|
||||||
|
dufs:
|
||||||
|
image: sigoden/dufs:latest
|
||||||
|
container_name: dufs
|
||||||
|
profiles:
|
||||||
|
- dufs
|
||||||
|
restart: on-failure:5
|
||||||
|
depends_on:
|
||||||
|
- caddy
|
||||||
|
env_file:
|
||||||
|
- ./dufs/env/dufs.env
|
||||||
|
volumes:
|
||||||
|
- dufs_data:/data
|
||||||
|
networks:
|
||||||
|
- infra-network
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
read_only: false
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '0.5'
|
||||||
|
memory: 512M
|
||||||
|
reservations:
|
||||||
|
cpus: '0.001'
|
||||||
|
memory: 20M
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
dufs_data:
|
||||||
|
name: dufs_data
|
10
infrastructure/dufs/env/dufs.env
vendored
Normal file
10
infrastructure/dufs/env/dufs.env
vendored
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
DUFS_BIND=0.0.0.0
|
||||||
|
DUFS_PORT=5000
|
||||||
|
DUFS_SERVE_PATH=/data
|
||||||
|
DUFS_HIDDEN=tmp,*.log,*.lock
|
||||||
|
#DUFS_ALLOW_ALL=true
|
||||||
|
DUFS_ALLOW_SEARCH=true
|
||||||
|
DUFS_ALLOW_SYMLINK=false
|
||||||
|
DUFS_ALLOW_ARCHIVE=true
|
||||||
|
DUFS_COMPRESS=medium
|
||||||
|
DUFS_AUTH="admin:heqihlOfBmJDESGFlpbPi7P7Mi6F7RkV@/data:rw"
|
@ -77,6 +77,12 @@
|
|||||||
description: ProjectSend
|
description: ProjectSend
|
||||||
ping: projectsend.bensuperpc.org
|
ping: projectsend.bensuperpc.org
|
||||||
container: projectsend
|
container: projectsend
|
||||||
|
- dufs:
|
||||||
|
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/dufs.png
|
||||||
|
href: https://dufs.bensuperpc.org/
|
||||||
|
description: Dufs
|
||||||
|
ping: dufs.bensuperpc.org
|
||||||
|
container: dufs
|
||||||
|
|
||||||
- Utils:
|
- Utils:
|
||||||
- it-tools:
|
- it-tools:
|
||||||
|
Loading…
Reference in New Issue
Block a user