-
Notifications
You must be signed in to change notification settings - Fork 54
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
✅ Docker support #41
✅ Docker support #41
Conversation
Great work, thanks for the updated PR, I only have some minor notes, please take a look at my comments. |
# Conflicts: # Sources/Feather/main.swift
@tib I did the changes fro the naming. Still need to spend a bit of with the docker compose. Will do that soon. had some computer issue |
No worries, take your time, I had some struggle with SPM lately, also I have to work on the docs a lot more... :) |
* main: run -> Feather warning icon readme updates readme fixes Minor updates Updated repo urls
@tib added a README to the folder. We are ll good now and using Docker compose. It's quiet nice actually as it will build on demands! |
I like the changes as they are now, so I'll merge this right away and we can fix the smaller issues later on. Thank your for this contribution. 😉 |
I intend to use feather cms in my school to start a blog.
Is there a way to fix that? It would be great if the docker hub had an image available for download. |
Hi @DesdeChaves , |
In discord, #TypeBeta presents the following solution:
|
I'm in macOs 10.15.7, Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28). |
Ok I will try. I am on Discord now for about 20 min if you want. In the meantime, I will put an image on Dockerhub. |
It's building, if working should be available here: |
Thanks. What's is the tag? |
It is still building, taking a while. Should be “latest" for the tag
… On 29 Dec 2020, at 16:53, Jorge Almeida ***@***.***> wrote:
Thanks. What's is the tag?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#41 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AACXEJIKYHWDDTQOCHCIOULSXH3OTANCNFSM4U4YIWQQ>.
|
Same issue when building from Docker hub. I will investigate |
Many thanks for your support. |
@DesdeChaves @charlymr just made a new release that fixes the file manager issue: |
Thanks. Works like a charm. |
@DesdeChaves the image is available on DokcerHub too now |
Hello, Check in the README, https://github.com/FeatherCMS/feather/tree/main/docker https://github.com/FeatherCMS/feather/tree/main/docker I added a step in the docker build which will copy and make executable all the scripts under the ‘customscripts’ folder. They will be accessible at /opt/feather/ Another approach which I personally use is to put a script in the ./datadir shared with feather, then when I start docker I simply do something like this where my script is feathermulti (I am running multiple instance of feather in my case, running on ports 14080 to 14089 Here I have a folder name app in my datadir datadir/ (shared in docker /var/feather)
Example .env.production
feathermulti
Here is the command to start the docker (you can use docker compose of course)
Then on Nginx, in my case I use a reverse proxy:
|
I am recreating a PR for docker, replacing
#35
All good now.
As mention, I extended Feather for the DB support via Env variables. It allow to decide the type of DB you want. (not providing anything revert to the default behaviour.
There are example script (Windows/Linux/Mac) to build, start the docker with different DB.
P.S. For postgres we still have an issue with index length. But this is not related to docker. So when it will be fix, rebuilding the docker will also fix this.
Kind Regards,
Denis