Listening to events in SpringBoot
Jotting down some examples of different ways to handle events in Spring Boot
Jotting down some examples of different ways to handle events in Spring Boot
Install Caddy on your server.
https://caddyserver.com/docs/install
Edit the Caddy file
You'll need to use a different port for https that maps to the Immich port, 2283.
Add the following setting 2282 to use https.
You can also do the same with 127.0.0.1
:
restart the Caddy service
Even though you have an encrypted https connection, the your browser will not recognized the self signed cert as being trusted which can be annoying. To tell your computer to trust your cert do the following
Copy the Caddy cert to the trusted certs store and update certificates
sudo cp ~/.local/share/caddy/pki/authorities/local/root.crt /usr/local/share/ca-certificates/caddy.crt
sudo update-ca-certificates
You may want to copy the cert to your home location to move it wherever else you need to move it
I only got this working on the Ubuntu virtual machine itself. For some reason, other devices would not recognize immich.local
.
Create a caddy block
Install avahi
to check avahi advertisement
or
Install avahi-utils
then I ran
This got it running locally, but not to other devices on the network.
Just a note to self, that when installing the developer edition of MS SQL, TCP is not enabled, by default, so you cannot connect to the instance via the port, 1433, until you open Sql Server Configuration Manager
, find SQL Server Network Configuration
and enable TCP/IP
. You can now connect.
Two factor authentication for Sudo access gives you an awesome security enhancement so that a hacker still will not be able to use sudo, i.e. admin privileges, even if they have discovered your password.
I haven't tested this yet but this should get me there to using Firebase as an auth provider for Angular/SpringBoot.
These are notes I ook on the flutter fireship io tutorial.
To create new project
To check flutters compatibility with all build modes, run
Download Immich Distribution
. When finished it will run on port 80, i.e. localhost
. The persisted locations are found in
i.e. you'll see the pgsql
and upload
folder here.
To see the snap variables run
The app data for immich resides in /DATA/AppData/big-bear-immich
.
In here we have the pgdata folder and upload folder.
Using OracleVM, set up a new machine as usual. You will need to manually select Linux and Oracle Linux (64-bit) and also be sure to Enable EFI.
After installing the medium to the disk the machine will turn off. Change the boot order ot only include the hard disk. Go to storage and click on the installation disk. There is an option to eject the disk on the far right.
You can then navigate to umbrel.local
in the browser.