Commit Graph

30 Commits

Author SHA1 Message Date
Bastian (BaM)
cd99ea8779 Add delay before starting ollama service after confirming SSH reachability 2025-09-14 13:35:30 +02:00
Bastian (BaM)
0c42d35b09 Refactor SSH command execution and enhance port checking logic in Lua script 2025-09-14 13:34:44 +02:00
Bastian (BaM)
bda835e9f8 Add .dockerignore and update Dockerfile and compose.yaml for SSH key handling 2025-09-14 13:28:35 +02:00
Bastian (BaM)
ee29740c6b Comment out SSH key environment variables in Docker Compose for improved security 2025-09-14 13:18:19 +02:00
Bastian (BaM)
87b282d9d0 Refactor SSH key handling in Dockerfile to ensure known_hosts is created before ssh-keyscan 2025-09-14 13:16:51 +02:00
Bastian (BaM)
57b20df159 Add OpenSSH client installation and SSH key handling in Dockerfile 2025-09-14 13:13:43 +02:00
Bastian (BaM)
59a19551fe Unset SSH environment variables after key file creation for enhanced security 2025-09-14 12:47:44 +02:00
Bastian (BaM)
8e618e59db Ensure .ssh directory exists before creating SSH identity file 2025-09-14 12:46:36 +02:00
Bastian (BaM)
09b4acd110 Ensure .ssh directory exists before creating SSH identity file 2025-09-14 12:45:44 +02:00
Bastian (BaM)
17125b6600 Add SSH key file creation from environment variables with error handling 2025-09-14 12:44:23 +02:00
Bastian (BaM)
134398879c Fix indentation in main function for improved readability 2025-09-14 12:40:47 +02:00
Bastian (BaM)
eb1e8b6acf Add SSH key environment variables for enhanced security 2025-09-14 12:33:52 +02:00
Bastian (BaM)
7637f748d1 Add SSH configuration options for enhanced connectivity 2025-09-14 12:29:44 +02:00
Bastian (BaM)
bb4cac4a2b Refactor send_wol function to streamline magic packet creation and enforce IPv4 UDP socket binding 2025-09-14 11:10:50 +02:00
Bastian (BaM)
c57359daef Enhance Wake-on-LAN functionality by forcing IPv4 UDP socket and adding source IP binding 2025-09-14 11:08:40 +02:00
Bastian (BaM)
8b32856c0d Enhance logging for Wake-on-LAN functionality in auto-boot-ollama-host.lua 2025-09-14 11:07:26 +02:00
Bastian (BaM)
62548d2954 Update WOL_BCAST environment variable to a consistent default value 2025-09-14 11:04:48 +02:00
Bastian (BaM)
ee47b9378c Refactor ERROR_PATTERN in auto-boot-ollama-host.lua to simplify error message format 2025-09-14 10:54:51 +02:00
Bastian (BaM)
5f53bea04a Update Dockerfile to use lua script as entrypoint and remove unused shell script 2025-09-14 10:54:16 +02:00
Bastian (BaM)
90b4fa9e7e Add lua log watcher script and update Dockerfile to include lua dependencies 2025-09-14 10:49:11 +02:00
Bastian (BaM)
5772166c44 Refactor environment variable definitions in compose.yaml for consistency and clarity; clean up commented code in auto-boot-ollama-host.sh 2025-09-13 20:08:48 +02:00
Bastian (BaM)
96d2a8c2f1 Update WOL_MAC environment variable to use variable substitution 2025-09-13 20:04:21 +02:00
Bastian (BaM)
8ecf2a2639 Add docker-cli installation to Dockerfile and streamline WOL script 2025-09-13 20:02:34 +02:00
Bastian (BaM)
8bfc28dc83 Move infinite sleep to the correct position in the script to prevent premature exit 2025-09-13 20:01:27 +02:00
Bastian (BaM)
11f9c8d6d5 Add infinite sleep at the end of the script to prevent premature exit 2025-09-13 20:00:22 +02:00
Bastian (BaM)
3e15d0ec5d Debugging 2025-09-13 19:53:03 +02:00
Bastian (BaM)
c65e2f77c0 Comment out WOL_MAC environment variable in compose.yaml 2025-09-13 19:47:11 +02:00
Bastian (BaM)
6b8df2ea56 Refactor Dockerfile and scripts for improved WOL configuration and error handling 2025-09-13 19:45:00 +02:00
Bastian (BaM)
c33a948b80 Update Dockerfile to use the correct script for entrypoint 2025-09-13 19:24:07 +02:00
Bastian (BaM)
2ef4de324c Init 2025-09-13 19:22:33 +02:00