pelican-dev / panel

https://pelican.dev
GNU Affero General Public License v3.0
608 stars 72 forks source link

Add MariaDB Changes, Split out Caddy to it's own container #432

Closed luthes closed 2 days ago

luthes commented 1 week ago

Lance and I worked on this a bit this evening. There may be some work left to do here, but this essentially splits Caddy, the Panel, and adds in the MariaDB database. A docker compose up in the main directory will get it running. I'll work on adding Redis next.

I think splitting this out to a full cluster setup, and something a bit more like what Lance had in the original PR with a single container/sqlite is a good idea. Maybe something like compose-cluster.yml, compose[-sqlite].yml, and flagging compose-cluster.yml as a more advanced setup option might be a good idea.

Apologies for the second PR. I based this branch off of Lance's issue/311 PR, but it needs a sync to main, and this can be pointed back over there without being too messy.

github-actions[bot] commented 1 week ago


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


1 out of 2 committers have signed the CLA.
:white_check_mark: (lancepioch)[https://github.com/lancepioch]
:x: @luthes
You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

lancepioch commented 2 days ago

Thank you Steven, please check out the other original PR. Parker and I are keeping Caddy in the single image, however we added a flag to just skip running Caddy, so you should be able to run the Panel still with K8S.