Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tethys App Store for Cloud Images #18

Open
swainn opened this issue Oct 14, 2021 · 2 comments
Open

Tethys App Store for Cloud Images #18

swainn opened this issue Oct 14, 2021 · 2 comments

Comments

@swainn
Copy link
Collaborator

swainn commented Oct 14, 2021

@rfun @msouff @rileyhales I've been tasked by Dr. Nelson to create virtual machine images on the major cloud providers that contain a production installation of a Tethys Portal. I'd like to include the Tethys App Store in the image to make it easier to install apps. However, there are a few constraints that I need to work with, so I have a few questions/suggestions about the Tethys App Store that would make it easier to use in these images:

  • How does the Tethys App Store restart a production instance of Tethys? Is the supervisorctl command hard-coded? Can the restart command be specified? I have created a systemd unit file to manage Daphne/Tethys, so supervisortctl can't be used to restart it. Instead systemctl needs to be used.
  • I know the app stores the root password currently, can you specify the username of the root user i.e. can it use sudo with a user with sudo permissions? When I created the Azure image, it deletes the root account, but I think it is recreated when the VM is provisioned. I can get around this constraint by having the user set the root password, but it would be nice if I could just have it configured to use the tethys user that I've created in the image.
@danames
Copy link

danames commented Oct 14, 2021 via email

@swainn
Copy link
Collaborator Author

swainn commented Oct 14, 2021

Yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants