mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-25 11:20:56 +03:00
[PR #432] [CLOSED] Add MariaDB Changes, Split out Caddy to it's own container #758
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pelican-dev/panel/pull/432
Author: @luthes
Created: 6/26/2024
Status: ❌ Closed
Base:
main← Head:main📝 Commits (10+)
5772820Add some dockere4e1733Don’t include thisde2491eFix missing route filesefbcd21Use variables1ce7225Allow both relative and absolute paths1a60eacAlready have defaults44a97beDockerf7bd576Remove old onef58afcdUse this one primarily8e64c8dUpdate variables📊 Changes
9 files changed (+313 additions, -178 deletions)
View changed files
➕
.dockerignore(+10 -0)➕
.env.docker(+3 -0)📝
.github/docker/entrypoint.sh(+20 -52)➕
Caddyfile(+11 -0)📝
Dockerfile(+53 -38)➕
compose.yml(+54 -0)📝
composer.json(+1 -2)📝
composer.lock(+158 -85)📝
config/database.php(+3 -1)📄 Description
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 upin 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.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.