mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-12-22 00:34:26 +01:00
Add linkstack and privatebin
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
edc107feaf
commit
51a014e14c
2
Makefile
2
Makefile
@ -13,7 +13,7 @@
|
||||
|
||||
DOCKER := docker
|
||||
|
||||
PROFILES := caddy wordpress adminer syncthing uptime-kuma jellyfin qbittorrent psitransfer gitea it-tools watchtower
|
||||
PROFILES := caddy wordpress adminer syncthing uptime-kuma jellyfin qbittorrent psitransfer gitea it-tools privatebin linkstack watchtower
|
||||
PROFILE_CMD := $(addprefix --profile ,$(PROFILES))
|
||||
|
||||
# gitea-runner transmission
|
||||
|
@ -23,6 +23,7 @@ If you have any **questions** or **suggestions**, feel free to open an issue or
|
||||
- [x] SyncThing (File synchronization)
|
||||
- [x] PsiTransfer (File sharing)
|
||||
- [x] it-tools (Tools for IT)
|
||||
- [x] Privatebin (Pastebin)
|
||||
|
||||
## Screenshots
|
||||
|
||||
@ -77,6 +78,7 @@ And then, caddy will generate the certificate for you and renew it automatically
|
||||
| [syncthing.bensuperpc.org](https://syncthing.bensuperpc.org) | Sub | SyncThing for file synchronization |
|
||||
| [psitransfer.bensuperpc.org](https://psitransfer.bensuperpc.org) | Sub | PsiTransfer for file sharing |
|
||||
| [it-tools.bensuperpc.org](https://it-tools.bensuperpc.org) | Sub | Tools for IT |
|
||||
| [privatebin.bensuperpc.org](https://privatebin.bensuperpc.org) | Sub | Pastebin |
|
||||
| bensuperpc.com | Main | Redirect to bensuperpc.org |
|
||||
| bensuperpc.fr | Main | Redirect to bensuperpc.org |
|
||||
| bensuperpc.net | Main | Redirect to bensuperpc.org |
|
||||
@ -181,6 +183,7 @@ You can find all service on this table:
|
||||
| SyncThing | SyncThing for file synchronization | [syncthing.bensuperpc.org](https://syncthing.bensuperpc.org) |
|
||||
| PsiTransfer | PsiTransfer for file sharing | [psitransfer.bensuperpc.org](https://psitransfer.bensuperpc.org) |
|
||||
| it-tools | Tools for IT | [it-tools.bensuperpc.org](https://it-tools.bensuperpc.org) |
|
||||
| Privatebin | Pastebin | [privatebin.bensuperpc.org](https://privatebin.bensuperpc.org) |
|
||||
|
||||
You can disable some services by removing the service name in PROFILES variable in the [Makefile](Makefile) file.
|
||||
|
||||
@ -208,6 +211,8 @@ To enable the gitea CI: https://medium.com/@lokanx/how-to-build-docker-container
|
||||
- [SyncThing](https://syncthing.net/)
|
||||
- [PsiTransfer](https://psitransfer.com/)
|
||||
- [It-tools](https://github.com/CorentinTh/it-tools)
|
||||
- [Privatebin](https://github.com/PrivateBin/PrivateBin)
|
||||
- [Linkstack](https://linkstack.org)
|
||||
- [Imagisphe](https://imagisphe.re/)
|
||||
|
||||
## License
|
||||
|
@ -93,6 +93,22 @@ tools.bensuperpc.org {
|
||||
redir https://it-tools.bensuperpc.org permanent
|
||||
}
|
||||
|
||||
privatebin.bensuperpc.org {
|
||||
reverse_proxy privatebin:8080
|
||||
}
|
||||
|
||||
pastebin.bensuperpc.org {
|
||||
redir https://privatebin.bensuperpc.org permanent
|
||||
}
|
||||
|
||||
linkstack.bensuperpc.org {
|
||||
reverse_proxy linkstack:443 {
|
||||
transport http {
|
||||
tls_insecure_skip_verify
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
link.bensuperpc.org {
|
||||
# TODO: Use service with database
|
||||
# Friendly links
|
||||
|
@ -8,12 +8,11 @@ services:
|
||||
restart: on-failure:5
|
||||
depends_on:
|
||||
- caddy
|
||||
env_file:
|
||||
- ./it-tools/env/it-tools.env
|
||||
networks:
|
||||
- infra-network
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
read_only: true
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
|
2
infrastructure/it-tools/env/it-tools.env
vendored
2
infrastructure/it-tools/env/it-tools.env
vendored
@ -1,2 +0,0 @@
|
||||
PSITRANSFER_ADMIN_PASS=n9jLVNT9QUotTJTT91JqH4GyBTg9pvEn
|
||||
#PSITRANSFER_PORT=3000
|
30
infrastructure/linkstack/docker-compose.linkstack.yml
Normal file
30
infrastructure/linkstack/docker-compose.linkstack.yml
Normal file
@ -0,0 +1,30 @@
|
||||
services:
|
||||
# linkstack
|
||||
linkstack:
|
||||
image: linkstackorg/linkstack:latest
|
||||
container_name: linkstack
|
||||
profiles:
|
||||
- linkstack
|
||||
restart: on-failure:5
|
||||
depends_on:
|
||||
- caddy
|
||||
env_file:
|
||||
- ./linkstack/env/linkstack.env
|
||||
volumes:
|
||||
- linkstack_data:/htdocs
|
||||
networks:
|
||||
- infra-network
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
reservations:
|
||||
cpus: '0.001'
|
||||
memory: 20M
|
||||
|
||||
volumes:
|
||||
linkstack_data:
|
||||
name: linkstack_data
|
7
infrastructure/linkstack/env/linkstack.env
vendored
Normal file
7
infrastructure/linkstack/env/linkstack.env
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
HTTP_SERVER_NAME="linkstack.bensuperpc.org"
|
||||
HTTPS_SERVER_NAME="linkstack.bensuperpc.org"
|
||||
TZ="Europe/Paris"
|
||||
PHP_MEMORY_LIMIT="512M"
|
||||
UPLOAD_MAX_FILESIZE="8M"
|
||||
LOG_LEVEL="info"
|
||||
SERVER_ADMIN="bensuperpc@gmail.com"
|
29
infrastructure/privatebin/docker-compose.privatebin.yml
Normal file
29
infrastructure/privatebin/docker-compose.privatebin.yml
Normal file
@ -0,0 +1,29 @@
|
||||
services:
|
||||
# privatebin
|
||||
privatebin:
|
||||
image: privatebin/nginx-fpm-alpine:latest
|
||||
container_name: privatebin
|
||||
profiles:
|
||||
- privatebin
|
||||
restart: on-failure:5
|
||||
depends_on:
|
||||
- caddy
|
||||
volumes:
|
||||
- privatebin_data:/srv/data
|
||||
networks:
|
||||
- infra-network
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
read_only: true
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
reservations:
|
||||
cpus: '0.001'
|
||||
memory: 20M
|
||||
|
||||
volumes:
|
||||
privatebin_data:
|
||||
name: privatebin_data
|
Loading…
Reference in New Issue
Block a user