-
Notifications
You must be signed in to change notification settings - Fork 59
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
Feedback welcome on custom Docker image #70
Comments
@frenchvandal Thank you for your PR! I'm just a simple user with Docker so I can't help you with that. Maybe you should have a look at Laradock, it's a docker config for Laravel. It can help you to create your docker config. FYI, I use these env to run Shaark.
|
Thank you 😄 I will check this info. I made some quick tests with my new install. Everything seems functional, except:
I love Shaarli but I do not think I can go back to it now that I have found out about Shaark! @MarceauKa do you happen to have a SVG version of the Shaark icon? |
Can you give me the 500 error you get? (see it in |
Here it is: I have noticed another thing: when I add an album with a simple image, after I hit Send, I get a Here are the logs. On a side note, I did not find the pattern yet but the upload of images sometimes fail: logs |
@MarceauKa is it possible to share with me an example of Apache prod conf?
I am not familiar with Apache. I put all the content of the Thank you a lot! |
@frenchvandal Just put the document root to |
Thank you @MarceauKa eventually I managed directly with my web server and without Apache. I have some issues for displaying images posted with albums. I can see they are stored correctly in their storage path, but they get a 404 error when displayed in a browser. Is there any specific directive to deal with images in nginx or Apache? |
Call |
Thanks man, I actually did the command during install. I am so dumb, the symlink was broken because I change afterwards the root path of Shaark inside the container. I managed to get a working dockerized Shaark with MariaDB (but includes manual steps from the user). I still have 2 issues to solve before pushing anything: getting mail sent and a functional Redis archiving. |
Hi @frenchvandal, |
I decided to create this spin-off not to pollute #69
Despite all the tips provided on the former issue, I have not managed to install Shaark with MariaDB so for now I stick to SQLite.
Here is my Dockerfile:
My
docker-compose.yml
file:(firefly is the default network of all my containers)
A few comments about things I added but not sure really sure if they are actually needed:
The image builds successfully and Shaark is up when I hit the URL.
Globally it is functional, except a few things:
server error
message, though when I go back to the front page, the new album is actually publishedserver error
message for medias andPuppeteer dependencies not installed, run npm install @nesk/pupheteer
--no-save (which is done in the Dockerfile???)Any feedback on my Dockerfile is welcome, and obviously any part of it can be reused for the repo.
The text was updated successfully, but these errors were encountered: