mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2025-01-02 22:04:26 +01:00
Compare commits
5 Commits
4dc0d9f56a
...
54e24022ce
Author | SHA1 | Date | |
---|---|---|---|
54e24022ce | |||
a65975e840 | |||
62e7ec4650 | |||
41fe67ba58 | |||
0745869554 |
3
Makefile
3
Makefile
@ -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))
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
22
infrastructure/dufs/docker-compose.dufs.yml
Normal file
22
infrastructure/dufs/docker-compose.dufs.yml
Normal 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
7
infrastructure/dufs/env/dufs.env
vendored
Normal 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|@/"
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user