-
Notifications
You must be signed in to change notification settings - Fork 887
docs: add template to provision docker image based workspaces on fly.io #6526
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
Conversation
fix: `fly_volume` does not allow using - in the name.
strangely `fly_volume` does not allow `-` and `fly_app` does not allow `_`.
cc: @bpmct |
- user is not prompted in UI for default values - org slug is best fetched via CLI
Have you tested it? |
@matifali I pushed those changes during testing. I may push more then will approve, will want you to check before, of course, but figured that would be easier than suggestions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, just added some metadata. @BrunoQuaresma - what would it take to add this as a starter template?
EDIT: nvm, found it. Is there anything else I need to do?
This example provides a docker image-based workspace on fly.io using the code-server docker image.
fly_volume
hostname
fly_org
fly_machine
if we need a wireguard tunnel (Not needed) Only requirement is to set
FLY_AUTH_TOKEN
env variable on coder deployment.Partially resolves #6446
This is the template part; provisioning Coder on fly.io will come as a separate blog post or may be in docs somewhere. Opinion is welcomed.