-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
2.0 Release: Allow spin
to configure production servers
#24
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Deploying with Β Β Cloudflare Pages
|
jaydrogers
temporarily deployed
to
ssu-spin (Preview)
January 3, 2024 20:30 — with
GitHub Actions
Inactive
jaydrogers
temporarily deployed
to
ssu-spin (Preview)
January 3, 2024 23:17 — with
GitHub Actions
Inactive
jaydrogers
temporarily deployed
to
ssu-spin (Preview)
January 4, 2024 01:07 — with
GitHub Actions
Inactive
jaydrogers
temporarily deployed
to
ssu-spin (Preview)
January 4, 2024 01:24 — with
GitHub Actions
Inactive
jaydrogers
temporarily deployed
to
ssu-spin (Preview)
January 4, 2024 02:01 — with
GitHub Actions
Inactive
jaydrogers
temporarily deployed
to
ssu-spin (Preview)
January 4, 2024 02:14 — with
GitHub Actions
Inactive
jaydrogers
temporarily deployed
to
ssu-spin (Preview)
January 4, 2024 02:35 — with
GitHub Actions
Inactive
jaydrogers
temporarily deployed
to
ssu-spin (Preview)
January 4, 2024 02:40 — with
GitHub Actions
Inactive
jaydrogers
temporarily deployed
to
ssu-spin (Preview)
January 4, 2024 02:50 — with
GitHub Actions
Inactive
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
π This project is in ACTIVE DEVELOPMENT
Track its progress here:
π¨βπ¬ Preview URL
π Problem
π Proposed solution
spin
as an alternative to Laravel Sail that allows users to deploy and manage services in any environmentπ Who
spin
is designed forβοΈ Key Differences
Laravel Sail vs Spin
spin
will extend outside just the development environmentspin
will be language independent and can be installed directly to the system or included as a project dependency as a composer package or Node packagespin
will use Ansible + Docker to handle the deployment of production servers with zero-downtime deploymentsKubernetes vs Spin
spin
will focus on the simplicity of setting up an environment. The goal is to allow users to have zero-downtime deployments with automated SSL on a $5/mo servermrsked/mrsk vs Spin
π¨ Design & Structure
Single Binary called
spin
spin
spin
will only be wrapper to other commands (such as Docker or Ansible)Follow Docker Standards
spin
will simply shortcut and optimize the user experience for people using Dockerspin
will follow all Docker and Docker Compose standardsDocker Overrides
Optimized to work with serversideup/docker-php
spin
will come with optimizations to enhance the developer experience with serversideup/docker-phpDeploying servers in production
Using Ansible
Ansible Roles
Possible Roles to include:
Configuring Server Settings
Users will need to configure three files:
settings.yml
: The main settings for spin and all servershosts
: Ansible hosts containing all servers to maintainconf/host_vars/{{ my server name }}
: Host-specific variablesMaintaining servers
spin maintain
, which will automatically connect to their servers and perform important security updates with Ansible + SSHOnboarding Experience
πͺ In Summary
spin
should be extended to allow users to provision and manage servers using Ansible + SSHspin
should not require any knowledge of setting up Docker or Ansible --spin
should do this for the userspin maintain
orspin provision
to quickly provision new servers or update their fleet of existing serversspin
should continue to only have Docker installed as its only dependency. All other processes should be as "turn key" as possible