Commit Graph

128 Commits

Author SHA1 Message Date
e86660d34e Using the crontab command adds the job to root's jobs. Allow cron to pick up the file automatically by not running any explicit calls. 2025-08-17 11:43:54 -07:00
cfb07a6e93 Use the www-data user rather than creating a hugo user. 2025-08-17 11:26:47 -07:00
4dd0661e1e Move permission commands to a single command after the cronjob file is copied. 2025-08-17 11:02:13 -07:00
d6e1186d86 Modify script to remove NGINX default files and check HTTP codes rather than curl response status. 2025-08-17 11:01:10 -07:00
57ade9f67d Give the cronjob some safety so that it churns less. 2025-08-17 11:00:34 -07:00
ddeadcf723 Add safeguards to cron job so that website does not get deleted without having replacement files. 2025-08-17 09:12:23 -07:00
dbb54b6f81 Do not continue if the git repo does not exist. 2025-08-17 09:01:24 -07:00
5323b6647f Change restart loop timers. 2025-08-15 11:49:00 -07:00
6dac535211 Remove running service commands since they don't actually keep the programs enabled. 2025-08-15 11:46:23 -07:00
d035f9d8e7 Refactor how the project is run, using nginx instead of hugo server, a cron job to pull git changes, and a start script to ensure the correct services are started each run and are monitored to stay up. 2025-08-15 11:45:23 -07:00
0ca793423b Add working configuration for how to run a slim Hugo container. 2025-08-14 12:30:25 -07:00
a3d6cdcee1 Number list rather than relying on autoincrement. 2025-07-26 13:55:04 -07:00
a868f874d7 Add file paths. 2025-07-26 13:54:37 -07:00
7046699ed6 Reapply changes from previous commits. Unsure why the synced branch did not have them if it was up to date. 2025-07-26 13:42:12 -07:00
eb2dda9d66 Allow container to reboot properly if using /tmp/ for models. Fixes newly created folder having permissions issues. 2025-07-26 13:35:32 -07:00
15f01061ba Move request characters to the env file. 2025-07-26 12:36:29 -07:00
4aebf1e21d Fix typo in header and set ordered list to number itself. 2025-07-26 12:17:18 -07:00
27689e25d8 Be more specific about the docker home location, rather than accidentally promoting the use of a variable which would not work. 2025-07-26 12:01:10 -07:00
29d1affcd8 Be more specific about the docker home location, rather than accidentally promoting the use of a variable which would not work. 2025-07-26 12:00:43 -07:00
43ee8de7ef Add comments and an explicit exit. 2025-07-26 11:59:45 -07:00
83fdb54768 Move the LT_LOAD_ONLY to the value so that it can be omitted if wanting to download all languages. 2025-07-26 11:28:04 -07:00
16df857f08 Shrink down to just 1 yml file, putting the CPU and RAM into the env file, since the only docker-compose differences were the resource configuration. 2025-07-23 06:05:29 -07:00
620f3f81b2 Shrink down to just 1 yml file, putting the CPU and RAM into the env file, since the only docker-compose differences were the resource configuration. 2025-07-23 06:05:21 -07:00
593b1fbaf2 Add an initial working configuration for LibreTranslate. 2025-07-23 05:55:40 -07:00
8aaa8e97b9 Update the BAKE performance data/ 2025-06-16 18:19:00 -06:00
8c6b258f48 Add BAKE to Nextcloud subproject. 2025-06-16 17:32:33 -06:00
8b7f94d51f Add note as to what type of system the testing was done on. 2025-06-16 17:32:15 -06:00
ac60f54142 Move the most important fixes to a Docker build file. fixes.sh is now just a list of maintenance jobs, name it so. Hooray!! 2025-06-16 17:17:47 -06:00
7265823f58 Add curl to the container so that the run script doesn't need to install it each time. 2025-06-16 15:43:55 -06:00
811442cd94 Add an .env file for the website. 2025-06-16 15:32:47 -06:00
a90bf8bf28 Provide a better explanation of what's happening in the log. 2025-06-16 15:20:00 -06:00
82547068e3 Add sudo to the website's container. 2025-06-16 15:09:48 -06:00
494d0c04bd Allow long-form parameters. 2025-06-16 14:28:04 -06:00
4469754097 Remove TODOs, going to keep cron at the Docker server level, container packages too volatile. 2025-06-16 14:24:38 -06:00
4ca8a8ae02 Update comments, rearrange file, fix case statement and handle empty parameter correctly. 2025-06-16 14:23:57 -06:00
a3ce3a7ee1 Add usage and verbose output option for what the cron file is getting accomplished. 2025-06-16 14:01:25 -06:00
0e761c5112 Add memory limit setting to php command. 2025-06-16 13:18:40 -06:00
cf1e23e91c Call on www-data using sudo within the container, gives better output. 2025-06-16 12:53:43 -06:00
93be789790 Fix the "the input device is not a TTY" cron log message. 2025-06-16 12:19:01 -06:00
6611665770 Add TODO for getting cron.php working properly. 2025-03-28 17:15:41 -07:00
f8d4c4654e Add extra flag to enable doing things like migrating MIME types. May increase the amount of time by quite a bit on large systems, but mine is small. :) 2025-03-28 17:03:23 -07:00
79a8549a42 Add services used in example Nextcloud file. 2025-01-04 09:52:25 -07:00
7b057765fe Fixes for example file. 2025-01-04 09:51:29 -07:00
1cbda3f57a Remove TBDs, using hostname instead of IP address is not throwing any errors. 2025-01-03 08:36:43 -07:00
486cd7cf21 Update project to use new Gitea server. 2025-01-03 07:59:46 -07:00
c2667399ea Add example file for Nextcloud. 2025-01-02 12:46:26 -07:00
8f5c987b73 revert 7f8bb2fe7a
Revert change by root.
2025-01-02 12:39:29 -07:00
root
7f8bb2fe7a Add example file for Nextcloud. 2025-01-02 12:36:40 -07:00
7071a8b47c Add lines necessary to upload files for releases. 2025-01-02 11:08:15 -07:00
56df4d6162 Add TBD's after adding the git service and realizing we have a point of failure. Not critical, would just take HTTP[S] traffic offline if the IP changed. 2025-01-01 18:01:33 -07:00