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
Installation guide without Docker? #2081
Comments
Hello @riahc3, thanks for contributing to the Password Pusher community! We will respond as soon as possible. |
Hi @riahc3 - this is a rare request so unfortunately I don't have end-to-end documentation written up but I can outline the major steps:
Password Pusher is built using a framework called Ruby on Rails. If you are deploying to some cloud, there are many services that will detect and automatically deploy the application for you such as Heroku, Hatchbox and a bunch of others. I've marked this issue as a feature request and will put together a guide eventually. Does the above help out any? Let me know. I can expand on any area you want to know about. |
Thank for your answer. Unfortunately, this doesnt give me much path. Does downloading the source code include the binary (pwpush) or is complying it required? Making it listen on a port that cant be changed is kind of scary; Changing default ports, even if it can be picked up by a port scanner, would be preferred. Although setting the database with said variable is pretty clear, what isnt clear is what database needs to be created, premissions, etc. From what I understand, even though NGINX would be the SSL termination point, it would be acting as a reverse proxy as well, correct? Security wise, even though the project has been here for decades, deploying to a public cloud, is not ideal: At the end of the day, these are passwords, and keeping them on a local machine would be prefered. I think more then a guide, maybe a package to install this thru yum, apt-get, etc. would be prefered. Makes things a lot easier to deploy. Thanks |
Hi @riahc3 -
The listening ip:port can be changed with
Fair point.
That's correct.
The tool isn't a password manager. It's used to securely communicate information to other people. It would make sense on a local machine only if that machine was accessible by others that you are transmitting sensitive information to.
I agree that would be nice but unfortunately I don't often get these requests and also being the sole maintainer with a day job, I have to be selective on what to focus my limited time on. I appreciate the feedback and will give it some thought. Unfortunately, for right now, building out and supporting a fully manual installation method isn't realistic given the limited resources. I hope this helps and maybe you will reconsider using Docker containers. They really are a simpler and more secure deployment method. |
OK, understood
Yeah, for example: Making a MariaDB HA cluster would complicate things as we dont know the name, the permissions, etc.
Great.
Correct, it isnt a password manager....HOWEVER....It does store passwords in unknown and uncontrolled locations, which, we have to trust the password that they get destroyed when their time/view limit is reached.
I understand. Im surprised this request isnt more common as, even though the project is great, a standalone version would be perfect.
Perfectly understood.
Im sure many people will disagree but the entire Pet vs Cattle discussion: Im on the Pet side: Sysadmins should administer their infrastructure no matter how simple or complex they are. Since this is currently the only option, I guess we will keep just using the site. Thank you nonetheless for all your answers. |
My mistake, we will use your universal container suggestion :) Or will try as Im having some issue seeing how to do a fresh installation from the start. |
Excellent - here's a cheat sheet: but tldr;
|
My idea is to use a settings.yml to set all the variables needed. Im gonna go ahead and give it a try as, even though Im not a docker expert , it SEEMS pretty easy |
I dont see any way to setup SSL with our certificate though |
Another issue I am having is that I have the MariaDB setup on my Debian host and when I start the Docker container, It cant find it on "localhost" (I believe the Docker container thinks localhost is the container itself so...) Hosthost names cant be solved either as it has no access to local DNS servers |
When using docker-compose - there is internal networking and DNS resolution between the containers. Things are not exposed to localhost by default. e.g. Password Pusher and a database, the only port need to be exposed to localhost is 5100 to access the application. Even still, you can configure which exposed ports. From Groq: You can configure which ports are exposed to localhost in Docker Compose by using the Here is an example:
In this example, the You can also specify multiple ports by separating them with commas:
This will expose ports 80 and 81 from the container to ports 8080 and 8081 on the host machine, respectively. You can also specify a range of ports by using the
This will expose ports 80 and 81 from the container to ports 8080 and 8081 on the host machine, respectively. You can also use the
This will expose port 8080 from the container to the host machine, but not necessarily to localhost. Note that the |
I find that asking ChatGPT/Groq is the fastest way to get answers. Hopefully this helps: ================================== To add your custom SSL certificate to an Nginx container in a Docker Compose setup, you can follow these steps:
In this example, the
In this example, Nginx will use the SSL certificate file
That's it! Your custom SSL certificate should now be used by Nginx in your Docker Compose setup. |
The issue is I dont know exactly what to ask ChatGPT π I believe Docker and Docker Compose are different methods, right??? Im just using the plain Docker method. I have another problem with Rate Limit (I made another issue, sorry) but while I am on it, I noticed that SSL was not working at all; What I mean is that it wasnt going to HTTPS, just HTTP. |
It takes a bit to work through all these details but the good thing is that none of this is specific to Password Pusher. The knowledge is valid for all Docker based applications (and it worth learning IMO). Post any other issues you hit, I'll do my best to help out. |
issues
.discussions
.β Question
How can I install PasswordPush in a non Docker environment ?
π Additional context
I want to use your typical manual Apache/NGINX, MariaDB, PHP, etc. setup and then install PasswordPusher there. I dont want to use containers or any sort of similar "prepackaged" setup.
Is there any guide? The closest thing Ive seen is the from source but it seems like it just like using Ruby as a proxy/web server
The text was updated successfully, but these errors were encountered: