Compare commits
4
Commits
b2de839a68
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6c5b9bd540 | ||
|
|
18ea6f6b2e | ||
|
|
637e1237ec | ||
|
|
548953e5df |
Binary file not shown.
@@ -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
@@ -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
@@ -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"
|
||||
Reference in New Issue
Block a user