Short tutorial for running Tornote docker image.
Using this image Docker Hub you can set up and run Tornote, a simple self-destructing note environment.
You will need a PostgresDB instance running with a database of your choice and a user with R/W permissions.
Considering that there is no info on the hub page you will need to consult the GitHub page here: osminogin/tornote
You can run this instance as any other via Synology Docker UI and the only thing are 3 variables that need to be set:
DATABASE_URL - this is your connection to a running (separate) docker instance of PostgresDB
SECRET_KEY - a random (letters, numbers, special chars, or just numbers if you want) string of chars (length up to you)
PRODUCTION - defaults to FALSE, but that will only work if you run it in a local http configuration. If you want to run it in https (via reverse proxy for example) you will need to configure this value to TRUE
So the format needs your NAS IP address, the port for Postgres (default is 5432) and then the name of the DB (in this example is tornote). Also note that there is sslmode parameter added. This will be needed unless your postgres instance does support ssl. If it doesn't and you do not add this parameter your docker instance will fail.
Default web port for this container is 8000 but you can run it on any custom port you want. After you have it up and running, be sure to configure it to run via reverse proxy using a valid SSL address (consult Reverse Proxy resource for this).
For any question be sure to read the discussion attached to this resource before posting any new ones.