-
Notifications
You must be signed in to change notification settings - Fork 371
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 #102
Comments
No, Currently we dont have. |
+1 for docker version |
1 similar comment
+1 for docker version |
have you any one stack or docker compose? |
any update on docker? Happy to help. |
The first step to making a docker compose script would be to make a bash script to install. No one has published one yet. |
I will take a look at what's required to get this running in docker and script the install process. This seems like an interesting and useful platform and if it can help us with our social media workload I would be happy to work with you to contribute this |
I'm happy to set it up with you. |
@mtcaddy sorry, I commented after just discovering the software and not trying it out. I signed up to the free plan of the commercial version and it had so many bugs that it was unusable. Lots of CORS issues in the front end. I would like this software to be worth my time, but right now it isn't. |
@rsmithlal Can you share your scripts? Making issues for the CORS issues would help too. |
@TechnologyClassroom I didn't end up writing more than just the initial couple of empty files because realized that I hadn't tried the software yet and had no idea what it was like or if it was worth investing time in. The bugs that I encountered were with the commercial production software and not the open source edition, and they don't have a clear way of reporting issues with that software as far as I could see. No contact email listed or open bug tracker portal. |
@rsmithlal I see. I think this is also the bug tracker for that. |
@rsmithlal Did you find an alternative since Socioboard appears to have bugs and not worth dockerizing right now? |
Unfortunately not! I didn't need the features bad enough to keep looking extensively. It's something that I will be building into my open source community engine, though. It's not released yet, but you can find it in my profile if you're interested in something like this and would like to keep up to date and/or help build it! ---- On Tue, 24 Nov 2020 20:29:38 -0330 [email protected] wrote ----
@rsmithlal Did you find an alternative since Socioboard appears to have bugs and not worth dockerizing right now?
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.
|
Would love to see docker support :) |
Oh yes please, we need this ;) |
sadly not going to happens since it has been "requested" for about 3 years already |
How about you people create your own container setup and publish it? Open Source is about collaboration :) |
Very true, but my guess is people who could create their own container setup wouldn't be asking for one here :-) |
Very true. If I had the knowledge or the time to learn it, I wouldn't be asking here :p |
Anyone still looking at this? I'm currently working on a Docker solution. However the lack of comprehensive documentation is making it quite difficult. Is there anyone I can discuss this with? I just need a breakdown on the configs(are they loaded individually? Does "NODE_ENV=development" decide whether "development.json" is loaded instead of "default.json"?). I have yet to use the software, but I would like to and don't mind contributing if it doesn't take up too much time. I'd have to dive into the code to find such things. |
Uhh my bad, I have located developer docs. <3 |
@vaughngx4 The closest thing to GNU/Linux documentation is the work that was posted to issue 112. What I wrote earlier in this thread still applies. Once we have a functional bash script to install and configure a working site with sane defaults, a docker file would be trivial to make. On the other hand if someone were to make a docker compose file out of the findings from that issue, making a bash script from the docker file would also be trivial. |
@TechnologyClassroom Thanks! I am separating to avoid running all services in a single container, I won't separate the api from the frontend to avoid any unexpected errors. So far I have 3 containers being |
Sounds reasonable. Carry on. I think that is all handled in the configs, but I have not actually seen the web interface yet other than screenshots others have posted. |
I faffed around with containerizing it on stream the other day if anyone is interested. Keep in mind I hadn't found all the docs and stuff at that point xD - https://www.twitch.tv/videos/1517387240 |
The developers have mentioned in one of the setup videos that it has to be done in the configs in the backend. Not sure why as it does have a frontend for it. |
@jon4short I see, thank you. In the video above I was using |
@TechnologyClassroom Are these 3 lines of config still necessary?
|
That was fast ! Thank you so much !! I still have to understand how to make it work though 😂 |
Great ressource. Thank you. But there's more. Like, I need to understand how it literally works x) And if ports 8000, 3000, 3001... are already in use, if I can change that. I really got to study here :p |
@tiritibambix The API details you will have to get from facebook, twitter etc. (Google facebook api keys and go from there). I haven't actually connected any APIs myself yet. As far as ports go, you can change which ports are exposed in |
Regarding the API details, this gives the application functionality. The API details are used by the applications to perform functions like logging in, posting etc. These should not be linked to your personal accounts(you log in with those on the frontend). The developers released the code for the SSO version of the application. It's still made for being deployed on the web(even though it isn't safe to do so). |
This project should not duplicate the effort of rewriting documentation to get the API keys, but linking to the appropriate documentation for the various sites would be helpful to jump start people in the right direction. |
@TechnologyClassroom I agree. I've been focused on the Docker version thus far but will write more documentation as I make progress with the application. |
At this rate, @vaughngx4 will squash all of the issues by next week. lol |
Haha! Issues? What issues? :P |
@vaughngx4 Thank you so much for everything ❤️ |
@tiritibambix You're welcome :) |
@vaughngx4 Thanks for making this happen. I installed Socioboard and got access to the web interface.
|
@kenjibailly I'm actually just fixing it as I try it out. There seems to be an issue with proxying currently, I'll check it out soon. See Docker.README.md about creating an account |
@kenjibailly See my latest PR. You can modify the nginx config if you'd like or simply put another nginx in front of the stack. |
I started with a clean install using the git clone today. So naturally I don't get any records in adminbro: Note: I made 1 small modification to the docker-compose as it gives me an error when executing being this one:
To get rid of this I just commented the last 5 lines out like this:
The network seems to be created with the desired preferences when looking in portainer (not 100% sure) Let me know if I'm doing something wrong here. Btw I'll have to try nginx later. |
@kenjibailly So the |
So that means I can comment out the last 5 lines, correct? So about the error logs, I couldn't find any that were triggered from the registration submit button.
I get a bunch of things info logs as well (green) that seem to say that everything is ready. Thank you for helping out mate :) Edit: A thing worth mentioning is that when clicking the submit button on the registration page and even waiting when the "undefined" notification passes, makes the web page not load anymore. So basically something gets stuck. |
@kenjibailly Even though I added IPs they are not relevant, I'll look into changing how the network works but I'm not sure it will work without the last 5 lines. Try running the docker network create command from the build see script and uncommenting the 5 lines. The undefined error means the frontend can't reach the API. Are you using my fork with the latest updates? There were some domain issues I fixed, it could only run on localhost prior to the nginx update. Edit: The frontend breaking could mean the container crashed, are the socioboard container logs fine? |
Testing Socioboard RepoI tried what you said with the current version on this github repo, but unfortunately I still keep getting the same error when docker-composing with the last 5 lines uncommented.
With the 5 last lines in comments the containers, as said before, fire up. When I look into the network in portainer it shows that all 3 containers are in the network as desired. I unfortunately can't find much on the error, and I'm assuming everything is connected and that this might not be the problem. Testing vaughngx4 fork repoNow I tried with your current fork ( https://github.com/vaughngx4/Socioboard-5.0 ) and this has a different outcome.
Going further with last 5 lines commented:
Damn, how hard can it be to create an account :p Edit: I'll add the log files, maybe you can find something that is wrong here? I can't seem to spot an error according to these issues. _socioboard-mysql_logs.txt Edit: Got it to work on the fork, but the nginx is failing me in swag as discussed on Discord. |
|
I'm trying to run this behind my Traefik reverse proxy with letsencrypt ssl certs, everything starts up fine, but I'm getting some mixed content errors when loading css. How can I fix this? |
@CountOlaf87 You have to force https. If the browser attempts to connect via http first, you will get mixed content errors. In nginx we managed to get it working using |
Did I mention I run it in docker? Could you guide me how to solve it? |
@CountOlaf87 I think this should work in Traefik:
Reference: https://doc.traefik.io/traefik/middlewares/http/headers/ |
Thanks, but that doesn't seem to work, I'll have a look later to see if I can pass it on in the traefik config |
Thanks @vaughngx4, Your comment did do the trick! |
I read this thread, especially #102 (comment). So I tried with vaughngx4 fork repo. I added the URLs mentioned in https://github.com/vaughngx4/Socioboard-5.0/blob/development/docker/nginx/ssl/SSL.README.md with my base domain to my router's DNS server and confirmed that they all point to the docker host. I try to sign up at https://socio.my-base-domain/register. If I submit I get "Registration failed!!". Then I check https://socio.my-base-domain/admin/resources/user_activations, but there are no records. |
This is probably a result of missing API info (Twilio is required). However, I've since abandoned the project to lack of response from the developers and nothing working. See #399 . |
Thank you. I added Twilio account information, but maybe not the expected IDs and Key. However, as you are the second one here who says that Socioboard does not work, I should better save my time and look for another solution - maybe yours. |
@lmoellendorf OpenSMM is a work in progress. However you can use the version on the main branch to post to Twitter. :) |
Did you have a docker-compose for deploy ?
The text was updated successfully, but these errors were encountered: