Compare commits

..
4 Commits
Author SHA1 Message Date
marvin 6c5b9bd540 removed cloud storage 2026-11-08 19:36:23 +01:00
marvin 18ea6f6b2e fixed caddy file 2026-10-23 19:30:55 +02:00
marvin 637e1237ec added caddy redirect and docker network for actionblock 2026-10-23 19:16:17 +02:00
marvin 548953e5df new model 2026-10-22 22:52:47 +02:00
4 changed files with 25 additions and 20 deletions
Binary file not shown.
+5 -5
View File
@@ -24,12 +24,12 @@ BIRD_MODEL_FILE = "bird_cnn"
BIRD_IMAGE_SIZE = 64
BIRD_C_HIDDEN = 16
FACE_MODEL_FILE = "face_detection_yolo_2"
FACE_IMAGE_SIZE = 64
FACE_GRID = 6
FACE_C_HIDDEN = 8
FACE_MODEL_FILE = "face_detection_yolo_3"
FACE_IMAGE_SIZE = 256
FACE_GRID = 8
FACE_C_HIDDEN = 16
FACE_SIZE_ACTIVATION = "sigmoid" # must match how the deployed weights were trained
FACE_THRESHOLD = 0.9
FACE_THRESHOLD = 0.5
# ---- Resource limits (the server is weak, keep everything small and bounded) ----
# Number of predictions (bird or face) that may run at the same time. (env)
+14 -9
View File
@@ -56,16 +56,21 @@ game.marvinkrausser.com {
reverse_proxy wizard_website:8082
}
# handle_path takes a single path, so use named matchers to also match the
# bare prefix. The prefixes are stripped, so the backends see "/..." only.
@actionblocks_website path /actionblocks/website /actionblocks/website/*
handle @actionblocks_website {
uri strip_prefix /actionblocks/website
reverse_proxy actionblocks-website:80
}
@actionblocks_server path /actionblocks/server /actionblocks/server/*
handle @actionblocks_server {
uri strip_prefix /actionblocks/server
reverse_proxy actionblocks-server:8080
}
handle {
respond 404
}
}
cloud.marvinkrausser.com {
reverse_proxy nextcloud-nextcloud-1:80
redir /.well-known/carddav /remote.php/dav 301
redir /.well-known/caldav /remote.php/dav 301
header Strict-Transport-Security "max-age=15552000; includeSubDomains"
}
+6 -6
View File
@@ -23,7 +23,8 @@ services:
- portfolio_network
- wizard_website
- wizard_api
- cloud_network
- actionBlocks_website
- actionBlocks_server
pull_policy: never
container_name: caddy_proxy
@@ -78,8 +79,7 @@ networks:
name: "wizard_website"
wizard_api:
name: "wizard_api"
cloud_network:
name: cloud_network
ipam:
config:
- subnet: 172.30.84.0/24
actionBlocks_website:
name: "actionBlocks_website"
actionBlocks_server:
name: "actionBlocks_server"