feat: added basic docker support #11
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey, hope everything is well
This PR aims to add basic Docker support to make self-hosting Eagle a little bit easier.
Some of the commits made are related to:
.env.exampleUpdates: Tweaked this file to include the debugbar_enabled variable and other octane related variablesDockerfileand Companion Files: Included the necessary files to build the Docker image and get the container running for self-hosting.compose.example.yml: Threw in this example file to show you how you can spin up Eagle using Docker Compose.Here's a simple way to get it running with Docker Compose:
compose.example.ymlfile and rename it tocompose.yml..envfile (starting from.env.exampleis a good bet!).docker compose up -d eaglein your terminal.(Heads up: You might need some extra steps for database or environment variable setup depending on your specific server setup.)
I made a quick live example here: eagle.notakrista.com
Just a note, the base Docker setup here was largely inspired by and adapted from the github.com/exaco/laravel-octane-dockerfile project, which I've actually used before for other personal projects and found quite helpful.
Best regards