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

Add non-docker installation documentation #65

Closed
robled opened this issue Oct 22, 2022 · 7 comments
Closed

Add non-docker installation documentation #65

robled opened this issue Oct 22, 2022 · 7 comments

Comments

@robled
Copy link

robled commented Oct 22, 2022

For those of us not using Docker, being able to install this in a non-Docker environment would be nice (VM, systemd-nspawn, etc).

@alexjustesen
Copy link
Owner

Can you give me an idea of the environment you'd install on? This being a Laravel app we can leverage their docs + install the speedtest CLI

@alexdelprete
Copy link
Contributor

alexdelprete commented Oct 23, 2022

There's Homestead or Composer.

Technically, you can also install PHP+Nginx+MySQL etc. standalone, Docker is just a way to have a packaged environment in place very quickly, but you can always unpack a container and install all apps/services manually on the host machine. I would not recommend it though...

In case you can't use Docker, Homestead/Composer look like the proper way to go.

Info: https://stackoverflow.com/a/67852978 and https://stackoverflow.com/a/67852746

@alexjustesen
Copy link
Owner

@alexdelprete homestead is for local development only so I wouldn't recommend that and Composer is just a dependency manager for PHP (like NPM for node or PIP for Python).

I'll keep this on the radar @robled but Docker is going to be the recommended approach as I'll never be able to account for every bare metal install scenario. Closing for now, but its been added to the features list.

@alexdelprete
Copy link
Contributor

Composer is just a dependency manager for PHP (like NPM for node or PIP for Python).

Yes, and if you want to configure a full stack on the host with some configuration-management for each app/service, you need something like that.

I was also thinking about ansible, maybe there's some "recipe"...

@robled
Copy link
Author

robled commented Oct 26, 2022

@alexdelprete homestead is for local development only so I wouldn't recommend that and Composer is just a dependency manager for PHP (like NPM for node or PIP for Python).

I'll keep this on the radar @robled but Docker is going to be the recommended approach as I'll never be able to account for every bare metal install scenario. Closing for now, but its been added to the features list.

Indeed, it would be difficult to account for every last Linux distro to install this on. To clarify what I'm suggesting, have a look at this README.md for gitlist. They provide a Docker installation method, but also list the generic dependencie requirements and steps needed to install the application (e.g. PHP 8.1, Apache, etc..).

With this info, non-Docker users could write their own Ansible playbook to install the dependencies and configure the application, or even create distro packages themselves.

@siegero
Copy link

siegero commented Jan 11, 2024

@alexjustesen Have you considered creating an installation based on lxc? I think that would make a nice addition to the docker container.

I can contribute in building such an installation based on Turnkey Linux (https://www.turnkeylinux.org). However I would need some input reg. which components/configurations/services etc. to pull from the docker container.

@alexjustesen
Copy link
Owner

@siegero I haven't and really because I have no way to test it or knowledge of how to build it.

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

4 participants