im trayng to install passbolt inside docker that is proxied through nginx proxy manager,
im trayng to install passbolt inside docker that is proxied through nginx proxy manager, using cloudflare
cant get it to work it says Bad gateway Error code 502
80 Replies
we continue here from: https://discord.com/channels/595317990191398933/812577823599755274/1158546783153180682
yep.
@Brandon | Support Engineer ya still running it?
Yes, it's building.
I'm also about to finish my shift, so we're closing things out. Once that's done, I can focus on this exclusively.
this is my 10th time installing passbolt and each time i had to go through this type of deal
i have no idea why it dosnt show up in first try
ok, when i test it, i get the blank page with the redirected URL @DeFc0n
i think thats normal as the app can only be used in the set url
Manual is not clear.
ok
502 Bad Gateway with
openresty
shownhm so its the same error
yeah, still poking at it here
@DeFc0n i fixed it
change the NPM config for passbolt to HTTPS on port 443
YEE
LESSS GOOOOOOOOOOOOO
i'm ashamed it took me that long to figure it out, but yeah when containers access themselves internally, we don't use the published ports
bro,
you took a few minutes
it would have taken me another 2 days
heh
thank you so much man
i haven't messed with my docker stack in so long i legitimately forgot how it worked
but yeah
that makes sense,
containers talking to themselves internally use the internal port spec, not the published port.
next up for me is wuzah
question though, why this and not bitwarden?
bitwarden pog
i though it was not self hosted
bitwarden
as it seems im very wrong lol
bitwarden has a selfhosted option
there's also an option called Vaultwarden that is written in Rust, is way faster, and completely free.
you don't have to pay a $10 license for it like you do with selfhosted BW
Same clients and everything
new lets hope i have no issues on mobile
@Brandon | Support Engineer thank you so much,
you bet
time for bed its 2:30
sleep easy
@Brandon | Support Engineer hey brandon, i got the same issue with wazuh, i set the port as 443 still get the same error as pasbolt
let's see the compose
on it
well two things
that was fast
1: this is a separate compose and it's not using the same network as the other set.
you need to add
i added the network on the dashboard
and then you need to add
to each wazuh container
and then lastly
i don't know if you changed that internal port to 5601, but that's the one you use with the proxy
alright let me test
@Brandon | Support Engineer took me awhike, port 443 is in use to i just change it to 4443?
i'd start with commenting out that line first and using the port that's specified on the container
5601 in NPM
cause containers will still accept internal traffic on the ports. if you comment out a line it's just removing the external port link
yeah
didnt work, same error
ok, give me some time to mirror the same config again and i'll check on it
of course, thank you.
@DeFc0n so looks like wazuh has some prerequisites, files you need to put in place first
also, don't be afraid to put everything in one compose file and organize it out. it makes things much simpler unless you define the docker networks first and then add them
that was nicely done,
updated
the last one won't run
how do we fix it
i just did
again it looks like Wazuh has some files that need to be in place before it's started, otherwise it stupidly creates directories with file names.
but with everything in the same compose file, there's no network mismatch and you can map it with NPM
im stuck at this issue
its throwing errors that i have no idea about
i dont know whats wrong with it
nevermind i was at the wrong directory
@Brandon | Support Engineer wazuh is stuck on loading
as it seems it cant connect to the wazuh indexe
looks like it might be stuck loading plugins or something but i'll look at the setup again later
i don't have the time to find and generate the config files it wants right now
i think you need to run this inside wazuh docker git
pull it and modify the docker compose
and run it in there thats how i fixed it
noted, i can check on it a bit later.
i think it's just looking for config files and doesn't find them, at least that's what's happening to me right away.
yes, its fixed by doing that aboce, no idea why you need to do this
apparantly you also cant use version 5.8.0 that they have on docker compose
because docker doesn't know that it has to create files
it dosnt exist
when it runs, it interprets filenames as folder names and creates folders, unless the file already exists
hello brandon, any news?
Morning. Not yet, busy days, sorry if i'm keeping you waiting
no problem
@DeFc0n where did you get that wazuh config from
Github
ok, looks like it's not as simple as just copy paste with this container
Deployment on Docker - Installation alternatives · Wazuh documentat...
User manual, installation and configuration guides. Learn how to get the most out of the Wazuh platform.
Comptia a+ expensive man
I used to fix pcs when i was 10, i can do that eyes closed
lol
i still fix PCs occasionally
Its fun
Unless you got motherboard issues
like my FIL's board.
If i can install arch Linux, pretty sure i can do comptia
I need a job lol hence i need that certificate
I got a job at Cloudflare without certs
Thats so nice
@Brandon | Support Engineer i created a hosting company, not reseller
I had plesk whmcs proxmox
Had to learn how to install each
Fun times i mostly did it to learn
@Brandon | Support Engineer how did you get the job
Sorry for ping
i
Lool
on a serious note, i put my resume in through a friend who also works for CF, just had a lot of customer service experience and technical knowledge so the interviews were a breeeze
I worked support desk for almost 2 years when i was 16
From 16 too arroubd 18, im 20 now
everything counts
the most important thing i think to getting your foot in the door is a properly formatted resume
There is an AI for that lol,
for example, taco bell counts as customer service experience, technically, but tech orgs don't care about that class of it.
yeah but if you use an AI to generate your resume, what else are you slacking on 🤔
I worked 1 year as devops aswell
Not sure if it counts as devops doe
I programmer a website in nextjs and used a vps to host it using nxing and using CF for cert
Tru tru
@Brandon | Support Engineer is there an application form?
For Cloudflare?
?jobs
Come and work for Cloudflare to help build a better Internet! https://www.cloudflare.com/careers/jobs/