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

Dockerize FluxCP #212

Closed
wants to merge 9 commits into from
Closed

Dockerize FluxCP #212

wants to merge 9 commits into from

Conversation

davidsiaw
Copy link

As a drive to make my services more modular my infrastructure more scalable, I have begun dockerizing the athena/RO family of applications and I wish to contribute my changes back to the community so others may also benefit.

By using this docker container we reduce the dependency list of FluxCP to simply requiring the installation of docker, which will allow anyone to start using it immediately.

Instead of Apache, I use nginx for as the webserver and php-fpm. This results in a much lighter and faster webserver (though it may not be for everyone). I have written rewrite rules that are as close to the .htaccess as I could make it.

I pass in values to the configuration file via environment variables. Obviously there is a bit more work to be done in exposing all the configuration options to environment variables. That will be done by me at a later date or if someone is willing to make a PR with improvements in that domain.

  • important *
    Because I have made a bunch of changes to the repo that may/should not be immediately mergeable (because it is different from how most people are supposed to use it at the moment and will create support nightmares), please treat this PR as an RFC for a dockerized FluxCP that will be more easily deployable.

@mrpond
Copy link

mrpond commented Sep 22, 2023

this is nice,

@Akkarinage Akkarinage marked this pull request as draft March 16, 2024 12:45
@Akkarinage
Copy link
Member

This PR won't be merged while the configs are forced into env variables.
This PR is also 95% dangerous file permission changes.

@Akkarinage Akkarinage closed this Aug 21, 2024
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.

3 participants