mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2026-05-01 15:46:06 +02:00
Add omni-tools
This commit is contained in:
@@ -60,6 +60,16 @@ it-tools.{$MAIN_DOMAIN} {
|
||||
}
|
||||
}
|
||||
|
||||
omni-tools.{$MAIN_DOMAIN} {
|
||||
# Load balance between 2 instances
|
||||
reverse_proxy {
|
||||
to omni-tools0:80 omni-tools1:80
|
||||
lb_policy round_robin
|
||||
lb_retries 3
|
||||
lb_try_interval 1s
|
||||
}
|
||||
}
|
||||
|
||||
uptimekuma.{$MAIN_DOMAIN} {
|
||||
reverse_proxy uptime-kuma:3001
|
||||
}
|
||||
@@ -106,10 +116,6 @@ syncthing.{$MAIN_DOMAIN} {
|
||||
}
|
||||
}
|
||||
|
||||
tools.{$MAIN_DOMAIN} {
|
||||
redir https://it-tools.{$MAIN_DOMAIN} permanent
|
||||
}
|
||||
|
||||
privatebin.{$MAIN_DOMAIN} {
|
||||
reverse_proxy privatebin:8080
|
||||
}
|
||||
|
||||
@@ -78,6 +78,12 @@
|
||||
description: IT Tools
|
||||
ping: it-tools.bensuperpc.org
|
||||
container: it-tools0
|
||||
- omni-tools:
|
||||
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/it-tools.png
|
||||
href: https://omni-tools.bensuperpc.org/
|
||||
description: Omni Tools
|
||||
ping: omni-tools.bensuperpc.org
|
||||
container: omni-tools0
|
||||
- stirlingpdf:
|
||||
#icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/stirlingpdf.png
|
||||
href: https://stirlingpdf.bensuperpc.org/
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
services:
|
||||
# omni-tools
|
||||
omni-tools0:
|
||||
image: iib0011/omni-tools:latest
|
||||
container_name: omni-tools0
|
||||
profiles:
|
||||
- omni-tools
|
||||
restart: on-failure:5
|
||||
depends_on:
|
||||
- caddy
|
||||
networks:
|
||||
- infra-network
|
||||
read_only: false
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
cap_drop:
|
||||
- SYS_ADMIN
|
||||
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
reservations:
|
||||
cpus: '0.001'
|
||||
memory: 20M
|
||||
|
||||
omni-tools1:
|
||||
image: iib0011/omni-tools:latest
|
||||
container_name: omni-tools1
|
||||
profiles:
|
||||
- omni-tools
|
||||
restart: on-failure:5
|
||||
depends_on:
|
||||
- caddy
|
||||
networks:
|
||||
- infra-network
|
||||
read_only: false
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
cap_drop:
|
||||
- SYS_ADMIN
|
||||
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
reservations:
|
||||
cpus: '0.001'
|
||||
memory: 20M
|
||||
Reference in New Issue
Block a user