I have made my initial attempt to move a few game related tiddlywikis online as nodejs versions in place of my current online single file wikis.
Progress so far:
Stand up ubuntu server
Managed DNS records for domain and subdomains
Installed nodejs
Installed npm
Installed nginx
mangled config files for subdomains and proxy_pass
Installed certbot
obtained certificates
Installed Tiddlywiki
initialized multiple empty wikis aligned with the subdomains
validated individual tiddlywiki servers working with options
credentials
lazy-all
readers anon
writers authenticated
What is the best path forward for running them all concurrently? I am reading pm2 docs which I believe is the path forward but thought I should inquire.
Have I missed anything else obvious in the process?
First time linux user, so this has been an enjoyable learning process along the way.
You may want to look into systemd services. All Ubuntu versions newer than 15.04 (i think it was) come with systemd already set up, with other distros adopting systemd earlier.
If you want to, you can also look into container systens like Docker & such. They may be quite useful depending on what you want to do.
clone this container as often as you like and adjust the name and the port mapping
build a NginxProxyManager docker container
** GitHub - NginxProxyManager/nginx-proxy-manager: Docker container for managing Nginx proxy hosts with a simple, powerful interface
** this will operate as a reverse proxy and will manage the Letsencrypt certificates automatically
** configure this container by adding the required certificates and proxy hosts
** the proxy hosts link the domains/subdomains with the specific TW docker containers
** you can create access lists to control who is able to access the several tiddlywikis
to make it more secure and more comfortable build an authentik docker container
** https://goauthentik.io/
** for powerfull authentication of the individual tiddlywiki containers and others