Compare commits

...

5 Commits

Author SHA1 Message Date
54e24022ce Fix icon on dufs
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2024-09-02 22:26:48 +02:00
a65975e840 Update caddy config
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2024-09-02 21:58:58 +02:00
62e7ec4650 Update reeadme
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2024-09-02 21:19:27 +02:00
41fe67ba58 Update dufs and caddy logs
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2024-09-02 21:16:50 +02:00
0745869554 Add dufs
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2024-09-02 20:14:27 +02:00
6 changed files with 50 additions and 1 deletions

View File

@ -14,9 +14,10 @@
DOCKER := docker
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
UTILS_SERVICES := it-tools
# stirlingpdf
PROFILES := caddy wordpress syncthing gitea homepage $(SHARING_SERVICES) $(TORRENTS_SERVICES) $(ADMIN_SERVICES) $(UTILS_SERVICES)
PROFILE_CMD := $(addprefix --profile ,$(PROFILES))

View File

@ -83,6 +83,7 @@ And then, caddy will generate the certificate for you and renew it automatically
| [yacht.bensuperpc.org](https://yacht.bensuperpc.org) | Sub | Web interface for managing docker containers |
| [projectsend.bensuperpc.org](https://projectsend.bensuperpc.org) | Sub | ProjectSend for file sharing |
| [picoshare.bensuperpc.org](https://picoshare.bensuperpc.org) | Sub | Picoshare for file sharing |
| [dufs.bensuperpc.org](https://dufs.bensuperpc.org) | Sub | Dufs for file sharing |
| bensuperpc.com | Main | Redirect to bensuperpc.org |
| bensuperpc.fr | Main | Redirect to bensuperpc.org |
| bensuperpc.net | Main | Redirect to bensuperpc.org |
@ -177,6 +178,12 @@ For [picoshare.env](infrastructure/picoshare/env/picoshare.env) file, you need t
PS_SHARED_SECRET=CBuS4DJLqIe93xF1KGYRrnhxUFBqLD2n
```
For [dufs.env](infrastructure/dufs/env/dufs.env) file, you need to change the secret key and if you want the user name.
```sh
DUFS_AUTH="admin:heqihlOfBmJDESGFlpbPi7P7Mi6F7RkV@/:rw|@/"
```
### Start the infrastructure
Start the website with:
@ -218,6 +225,7 @@ You can find all service on this table:
| Yacht | Web interface for managing docker containers | [yacht.bensuperpc.org](https://yacht.bensuperpc.org) |
| ProjectSend | ProjectSend for file sharing | [projectsend.bensuperpc.org](https://projectsend.bensuperpc.org) |
| Picoshare | Picoshare for file sharing | [picoshare.bensuperpc.org](https://picoshare.bensuperpc.org) |
| Dufs | Dufs for file sharing | [dufs.bensuperpc.org](https://dufs.bensuperpc.org) |
You can disable some services by removing the service name in PROFILES variable in the [Makefile](Makefile) file.
@ -252,6 +260,7 @@ To enable the gitea CI: https://medium.com/@lokanx/how-to-build-docker-container
- [Yacht](https://yacht.sh/)
- [ProjectSend](https://www.projectsend.org/)
- [Picoshare](https://github.com/mtlynch/picoshare)
- [Dufs](https://github.com/sigoden/dufs)
## License

View File

@ -129,6 +129,10 @@ projectsend.bensuperpc.org {
reverse_proxy projectsend:80
}
dufs.bensuperpc.org {
reverse_proxy dufs:5000
}
link.bensuperpc.org {
# TODO: Use service with database
# Friendly links

View File

@ -0,0 +1,22 @@
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
volumes:
dufs_data:
name: dufs_data

7
infrastructure/dufs/env/dufs.env vendored Normal file
View File

@ -0,0 +1,7 @@
DUFS_BIND=0.0.0.0
DUFS_PORT=5000
DUFS_SERVE_PATH=/data
DUFS_HIDDEN=tmp,*.log,*.lock
DUFS_ALLOW_ALL=true
DUFS_COMPRESS=medium
DUFS_AUTH="admin:heqihlOfBmJDESGFlpbPi7P7Mi6F7RkV@/:rw|@/"

View File

@ -77,6 +77,12 @@
description: ProjectSend
ping: projectsend.bensuperpc.org
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:
- it-tools: