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

feat(deployment): added one click-deployment #880

Merged
merged 2 commits into from
Jan 5, 2025
Merged

Conversation

Lasim
Copy link

@Lasim Lasim commented Jan 3, 2025

feat: Add one-click cloud deployment support

Enable users to deploy LinkAce instantly on AWS, DigitalOcean, or Render.com using Infrastructure as Code templates. This adds deployment automation while maintaining all configuration options.

Project URL: https://deploystack.io/c/kovah-linkace

Added:

  • One-click deploy buttons in README.md for supported cloud providers
  • .deploystack/docker-compose.yml - Docker compose configuration
  • .deploystack/env - Environment variables template for deployment configuration

The .deploystack directory enables automated template updates when container configs change. See docs at:
https://deploystack.io/docs/deploystack/deploystack-configuration-directory

Auto update to docker config change

To enable automated template updates, install the DeployStack GitHub App: https://github.com/apps/deploystack-repository-sync/installations/select_target

-> DeployStack GitHub Sync App Docs


Reference: https://deploystack.io/docs

@Kovah
Copy link
Owner

Kovah commented Jan 4, 2025

To enable automated template updates, install the DeployStack GitHub App: https://github.com/apps/deploystack-repository-sync/installations/select_target

How would that handle different versions of LinkAce? Version 2 is in the pipeline and will slightly change the docker compose stack.

@Lasim
Copy link
Author

Lasim commented Jan 4, 2025

How would that handle different versions of LinkAce? Version 2 is in the pipeline and will slightly change the docker compose stack.

You're absolutely right - this is a crucial consideration for projects maintaining multiple versions.
I've just created a feature request to address exactly this scenario: deploystackio/feedback#12

Currently, DeployStack only generates templates from your default branch. I'll develop the multi branch support to end of this month.

Once implemented, I'll create a new PR for the LinkAce Version 2 support.

Btw, the issue for DigitalOcean is solved. All three templates are working out of the box.

@Kovah
Copy link
Owner

Kovah commented Jan 4, 2025

That sounds awesome, great work!

In the meantime, am I able to just copy this to the v2 version and do the needed changes there? Or would this mix up both versions once released? The 2.x branch would become the new default branch then.

@Lasim
Copy link
Author

Lasim commented Jan 5, 2025

In the meantime, I suggest merging this PR for v1, as the IaC templates work as intended.

The files can be copied into v2 without any concerns. I guess the image tag needs to be adjusted in .deploystack/docker-compose.yml. But I would create the PR for v2 myself, as the feature is new, and I would like to support it so that everything runs smoothly :)

@Kovah Kovah merged commit 67848ea into Kovah:1.x Jan 5, 2025
5 checks passed
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

Successfully merging this pull request may close these issues.

2 participants