Skip to content

Automation #14

@adixon

Description

@adixon

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:

  1. 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.
  2. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions