-
Notifications
You must be signed in to change notification settings - Fork 356
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
How to install on Azure? #277
Comments
At least for me, I haven't ever deployed to Azure although I know they have fair documentation on how to deploy containers and container sets. If it helps, we have a docker-compose file available here that Azure should be able to import as well. Issue #175 also covered some Azure details. Hopefully someone else will jump in with some Azure experience. I'll remove the link to the now removed blog post soon. |
Thanks, we figured it out, we were able to import the docker into Azure and it worked. |
Hi, it could be a bit late, but you could also use the Azure App Service. It's quite simple and you can also link your repo for simple deployment. Docker his easy too, but if your looking at the easiest way, App Service -from my experience, is the way to go. P.N. there's many ways to get to a point, what's most important... it's using the one your the most confortable with! |
Thanks for pointing this out. I agree and would love if someone would contribute documentation on this. I tried the App Service once but couldn't get it to work and haven't had a chance to revisit it yet. There are a good number of Azure users. Not having documentation on the how isn't ideal for this project. |
We tried the App Service route, but ended up using it as an Azure Docker, App Service would probably be better since we can easily update it by linking the repo. Could you share how you did it, and anyone likes can publish our steps for future reference for everyone. |
Hi, yes I can. I could also get you an ARM model or Bicep file. I'll give you the info as soons as I can and you'll be able to let me know what you think about it. |
@Ramses26, did you use the Docker option via App Service or Azure Docker -the real deal?! The App Service let you use a container based on Docker. I'm using the firts option, as I see it, it's the better of both wolrd. I'll get you posted. |
How can I deploy it on EC2 AWS? |
Documentation on how to deploy a docker container to Amazon LightSail or ECS is here: Added #391 to document the AWS process. |
Hi, I love the tool - thank you @pglombardo - and I'm kinda new to Azure App Service and Docker things but managed to deploy the image to Azure App Service according to the instructions provided by @jlucgauthier . However, I would like to customize our instance and change CSS and logo images directly in the docker image. Does anyone know how to access the image in the Azure App Service Docker container and replace the files? I'm not sure what to google for and if it is possible. Thank you! |
Hi @jnhrv! Password Pusher supports rebranding out of the box via environment variables or a custom
Hopefully this helps. Let me know if you have any issues. |
I tweaked this during my deployment, but the instructions works well. I just need it to be backed by a database.
|
Hey! I also deployed Password Pusher to an Azure WebAPp thanks to the input from @jlucgauthier I'm just curious if its possible to change the "text" (from config/locales/localization.it.yml) if Password Pusher is deployed through Azure Web App? Anyone an Idea? Thanks! |
Can I create the application by pulling from my repository and cloning it from yours? example: in the Full Image Name and Tag part I put myrepository/pwpush-ephemeral:latest |
Hi @rafabiasotto - if you are building your own Docker containers and pushing them to your Docker Hub account - then yes. Also a side note. There is now a single universal Docker container (pglombardo/pwpush). See here for info. |
Hi @rafabiasotto - My Portuguese is poor but I believe that is a firewall message. You may have to approve the URL with your company IT team. This message is not from Password Pusher and is open by default (no blocking). Let me know how it goes. |
@rafabiasotto, to me that looks suspiciously like the image below. It's for Entra AD Application Consent (OAUTH permissions) control. |
I fogot to give admin consent. Thanks for help. |
I created an azure web app by using the docker image and mapping port 80 to 5100. I am attaching the ARM template for others to use. I am sure there are better ways to do it but I could get it work only this way. |
I have been able to get it up and running on azure, but can't get it to connect to the postgres DB @jgudmundson-RETSD dont suppose you have any additional info to share on the way you did that? under config > Application Settings > Connection Strings, i already had some values from when the resource was created (I created it with postgres) I have tried also adding a new application setting: However i am getting: 2024-01-25T22:40:22.297Z ERROR - Container pwpushapp_1_ccdff39e didn't respond to HTTP pings on port: 5100, failing site start. See container logs for debugging. |
Hi @BNWEIN,
If you could post the container logs, that will tell us exactly where the issue is. Two other things to make note of: |
Thanks. I got this sorted by changing the network settings on the postgres server |
@pglombardo Can I change the name on footer: © 2023 Peter Giacomo Lombardo ? |
@pglombardo we try to change theme but Isnt work |
You can but that is the entirety of my compensation for this project. 😂 If you want to change it, you can always fork the repo and build custom containers. It's not configurable currently. I have no strong feelings about it though. Feel free.
Set the environment variable Make sure to read this section:
|
@pglombardo we can change this name bar? Moved this request to #1892 cc: @RafaelBiasotto |
Hi there, im trying to host passwordpusher on Azure with persistent storage. A seperate "Azure Database for PostgreSQL flexible server" costs about 15 $ per month. Is there another way to do that? I tried to bin a storage account but i did not get it working. Has anybody get i working with persistent storage without paying extra fees for a PostgreSQL Server? |
Hi @Julian0o - you could use the SQLite3 database backend as persistent storage if you mounted a persistent volume to Other users have done this. See the SQLite3 docs here. Note though the SQLite3 isn't the best at concurrency so if you expect a lot of users, this will have it's limits. But for light traffic it's fine. |
Thank you! I got it working. In Azure Web App you can use the /home Folder for persistent storage. All you have to do is set the following Environment Variables via Azure Web Interface: DATABASE_URL WEBSITES_ENABLE_APP_SERVICE_STORAGE I think we will use it for a max of 100 Passwords per day. Do you think sqlite will do this fine? |
Excellent - I think 100 passwords/day should be fine. |
Hi all - just an update here that a community user has graciously contributed new Azure installation documentation. |
Hi there, I have pwpush deployed on Azure and I'm struggling to get an admin user added. I can't find a way to access the console to run the necessary commands. |
Hi @Jr7468 - It seems more than a few users have trouble accessing an application console in Azure. I just updated the Admin Dashboard docs with instructions on how to mark a user via SQL. Related: #2719 (comment) |
Does anyone have the documentation on how to install this on Azure? The blog site by Craig McLaren doesn't exist anymore.
Thanks
The text was updated successfully, but these errors were encountered: