SmartPhoneLover Posted December 11, 2021 Share Posted December 11, 2021 (edited) This docker template was created based on an already available docker image GitHub: https://github.com/Forceu/gokapi DockerHub: https://hub.docker.com/r/f0rc3/gokapi Documentation: https://gokapi.readthedocs.io/en/latest/index.html My Repository: https://github.com/SmartPhoneLover/unraid-docker-templates DESCRIPTION Gokapi is a lightweight server to share files, which expire after a set amount of downloads or days. It is similar to the discontinued Firefox Send, with the difference that only the admin is allowed to upload files. This enables companies or individuals to share their files very easily and having them removed afterwards, therefore saving disk space and having control over who downloads the file from the server. Identical files will be deduplicated. An API is available to interact with Gokapi. AWS S3 and Backblaze B2 can be used instead of local storage. Customization is very easy with HTML/CSS knowledge. NOTES • Default credentials: unraid/unraid (user/pass). • After building the container, check logs for details about how to log-in. • To know more about the available variables that you can use, check the documentation. • If you want to update the container settings (variables) after creation, you will need to edit the config file manually. (only applicable for persistent variables) VERSION 1.0 (2021-12-11) If you are going to report a bug or request something to be added/modified, please, take into consideration that I will only be able to apply changes for the work I own only. For example, if I create a docker template for an already existing docker image (not created by me), I won't be able to do more for that image than forward your report or request to the owner of the project. If you like my work, please consider making a little donation. - DONATE - Thank you very much 🙂 Edited December 11, 2021 by SmartPhoneLover Quote Link to comment
deano_southafrican Posted March 22, 2022 Share Posted March 22, 2022 (edited) Love it! Got it up and working in almost no time at all. Question; is there a way to add other users or is the point only to be able to send files out? What if I'd like to send files between family members for example? Edit: I should really stop skim reading... Answer to my question - "It is similar to the discontinued Firefox Send, with the difference that only the admin is allowed to upload files." Edited March 22, 2022 by deano_southafrican Quote Link to comment
deano_southafrican Posted March 23, 2022 Share Posted March 23, 2022 @SmartPhoneLover This works brilliantly after significant testing! Your template in unRAID was super easy to set up, thanks a million! Just putting this out there incase you or anyone else has or will figure it out... I'm having a real hard time setting this up in Nginx. I'm trying to set it up on my domain under a CNAME on Cloudflare. where I think the issue lies is the fact that it requires a specific subdirectory (ie. /admin or /login). I've tried everything else and just can't seem to get it to work. Quote Link to comment
StirCwazy Posted March 29, 2022 Share Posted March 29, 2022 On 3/23/2022 at 4:41 AM, deano_southafrican said: @SmartPhoneLover This works brilliantly after significant testing! Your template in unRAID was super easy to set up, thanks a million! Just putting this out there incase you or anyone else has or will figure it out... I'm having a real hard time setting this up in Nginx. I'm trying to set it up on my domain under a CNAME on Cloudflare. where I think the issue lies is the fact that it requires a specific subdirectory (ie. /admin or /login). I've tried everything else and just can't seem to get it to work. During the initial configuration there's a setting for public URL and redirect URL. For the public put in https://yoursubdomain.domain.whatever and for the redirect put in https://yoursubdomain.domain.whatever/login. (Obviously replacing that with your correct info) That also corrects the issue with the WebUI link for the container. For Nginx there's no need for additional config, just make a simple proxy host with the domain, IP and port and you'll be set with the above corrected. I had the same issues until looking over the config and realized the redirect was there, even though it says it right in the initial config wizard. Hopefully that makes sense. Quote Link to comment
StirCwazy Posted March 29, 2022 Share Posted March 29, 2022 (edited) Is there anything special to do to increase the file size allowed? I've tweaked the template adding in the following to my liking. GOKAPI_MAX_FILESIZE set to 51200 (removed yours and added my own) GOKAPI_MAX_MEMORY_UPLOAD set to 64 (thinking larger files may require more memory but doesn't seem to do anything) GOKAPI_LENGTH_ID set to 15 (removed yours and added my own, default per the documentation is 15) I've confirmed my settings were carried over to the config but upon adding a 780mb file it sits there for a few minutes then appears to be uploading due to a progress bar finally moving then shows an X over the file. When you hover over the file it shows the below error. The logs aren't very informative unfortunately so here I am. 😃 Any assistance would be greatly appreciated. Edited March 29, 2022 by StirCwazy Quote Link to comment
KineticPie Posted April 10, 2023 Share Posted April 10, 2023 On 3/29/2022 at 5:59 AM, StirCwazy said: During the initial configuration there's a setting for public URL and redirect URL. For the public put in https://yoursubdomain.domain.whatever and for the redirect put in https://yoursubdomain.domain.whatever/login. (Obviously replacing that with your correct info) That also corrects the issue with the WebUI link for the container. For Nginx there's no need for additional config, just make a simple proxy host with the domain, IP and port and you'll be set with the above corrected. I had the same issues until looking over the config and realized the redirect was there, even though it says it right in the initial config wizard. Hopefully that makes sense. I did this exactly as you wrote it, unfortunately I always get a Bad Gateway 502. Anyone have an idea where the error is? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.