-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
I'd like to set up some automation to allow a visitor to sign up for a site and have it generated for them automatically.
My thinking about a strategy for this is:
- The form completion will generate a .env file for the site in a special "pending sites" directory, by host-mounting that directory into the container running the form.
- Set up systemd path unit to monitor that directory and run a script that will run site-deploy on the oldest file in that directory, and then move the file over to a "auto-generated sites" directory for human review and followups.
Here are a couple of useful posts about systemd path units.
https://www.digitalocean.com/community/tutorials/understanding-systemd-units-and-unit-files
https://www.putorius.net/systemd-path-units.html
Metadata
Metadata
Assignees
Labels
No labels