0
0

Added Hckrnws

This commit is contained in:
Opnxng 2024-10-09 20:19:11 +08:00
parent 3dfd244112
commit 6cdd5767fa
3 changed files with 48 additions and 30 deletions

View File

@ -0,0 +1,20 @@
# {{ ansible_managed }}
services:
hckrnws:
container_name: hckrnws
image: git.opnxng.com/opnxng/hckrnws:latest
restart: unless-stopped
security_opt:
- no-new-privileges
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Singapore
ports:
- 8909:3000
networks:
- hckrnws
networks:
hckrnws:
name: hckrnws

View File

@ -571,24 +571,24 @@
}
}
# @tt host tt.{$HOSTNAME}
# handle @tt {
# encode zstd gzip
# reverse_proxy {
# to {{ oracle1_private_ip }}:8909
# to {{ oracle2_private_ip }}:8909
# to {{ oracle3_private_ip }}:8909
# to {{ oracle4_private_ip }}:8909
# lb_policy ip_hash
# lb_try_duration 5s
# lb_try_interval 1s
# fail_duration 30s
# max_fails 3
# }
# header {
# X-Robots-Tag "noindex, noimageindex, nosnippet, notranslate, noarchive, nofollow"
# }
# }
@hn host hn.{$HOSTNAME}
handle @hn {
encode zstd gzip
reverse_proxy {
to {{ oracle1_private_ip }}:8909
to {{ oracle2_private_ip }}:8909
to {{ oracle3_private_ip }}:8909
to {{ oracle4_private_ip }}:8909
lb_policy ip_hash
lb_try_duration 5s
lb_try_interval 1s
fail_duration 30s
max_fails 3
}
header {
X-Robots-Tag "noindex, noimageindex, nosnippet, notranslate, noarchive, nofollow"
}
}
@ti host ti.{$HOSTNAME}
handle @ti {

View File

@ -1,12 +1,10 @@
compose:
oracle1:
- redlib
oracle2:
- redlib
oracle3:
- redlib
config:
oracle4:
- redlib
- caddy
compose:
oracle4:
- caddy
# ----------------------------------------------------------------------------------------------------
@ -21,6 +19,7 @@ deployed-compose:
- send
- privatebin
####################
- hckrnws
- searxng
- redlib
- voyager
@ -30,7 +29,6 @@ deployed-compose:
- cinny
- gothub
- scribe
- proxitok
- proxigram
- it-tools
- simplytranslate
@ -43,6 +41,7 @@ deployed-compose:
oracle2:
- wolfree
####################
- hckrnws
- searxng
- redlib
- voyager
@ -52,7 +51,6 @@ deployed-compose:
- cinny
- gothub
- scribe
- proxitok
- proxigram
- it-tools
- simplytranslate
@ -69,6 +67,7 @@ deployed-compose:
- ntfy
- breezewiki
####################
- hckrnws
- searxng
- redlib
- voyager
@ -78,7 +77,6 @@ deployed-compose:
- cinny
- gothub
- scribe
- proxitok
- proxigram
- it-tools
- simplytranslate
@ -92,6 +90,7 @@ deployed-compose:
- caddy
- geoipupdate
####################
- hckrnws
- searxng
- redlib
- voyager
@ -101,7 +100,6 @@ deployed-compose:
- cinny
- gothub
- scribe
- proxitok
- proxigram
- it-tools
- simplytranslate