• 2 posts
  • 9 comments
Joined 3 years ago
Cake day: June 11th, 2023
  • Solved with this solution. It would only work over 80 and 443.

    Lighttpd was using port 80 for pihole. Back when I set it up you could change the server port but it would be overwritten every time pi hole was redeployed, hence why I didn’t just change this in the first instance. They seem to have updated it so that editing the .conf and changing the port number will persist.

I’m trying to host a vaultwarden instance through docker and failing miserably. This isn’t my first attempt either but I’ve got much further than before.

I’m using a DuckDNS domain with caddy as reverse proxy, but it appears that the domain is defaulting to port 80 no matter how I set up the config. I can’t specify a port number in DuckDNS as far as I can tell. If the simple solution is to just buy a domain name I will consider it. Otherwise could really use some help in sorting out why it’s not connecting.

I can’t access Vaultwarden on the internal IP as it’s not being served as SSL but both Vaultwarden and Caddy are running with no errors in logs. I’ve left out a bunch of admin env variables for the Vaultwarden service to truncate the code.

docker-compose:

`[___](services:

vaultwarden:

container_name: vaultwarden

image: vaultwarden/server:latest

restart: unless-stopped

ports:

  - 11808:80

  - 11443:443

volumes:

  - ./data/:/data/

environment:

  - ROCKET_PORT=11444

caddy:

image: caddy:2

container_name: caddy2

restart: always

ports:

  - 1808:11808

  - 1443:11443

volumes:

  - ./caddy:/usr/bin/caddy

  - ./Caddyfile:/etc/caddy/Caddyfile:ro

  - ./caddy-config:/config

  - ./caddy-data:/data

environment:

  DOMAIN: "https://example.duckdns.org"

  EMAIL: "example@domain.com"
        
  DUCKDNS_TOKEN: "token"

  LOG_FILE: "/data/access.log")`

Caddyfile:

’ {$DOMAIN}:1443 {

log {

level INFO

output file {$LOG_FILE} {

  roll_size 10MB

  roll_keep 10

}

}

tls {

dns duckdns {$DUCKDNS_TOKEN}

}

encode gzip

Notifications redirected to the WebSocket server

reverse_proxy /notifications/hub vaultwarden:3012

Proxy everything else to Rocket

reverse_proxy vaultwarden:11444

}`

Any idea where I’m going wrong?

Google pushed their Ai Overview onto my country last night and that finally gave me the push to change search engines.

One thing I did find useful was having product prices displayed in the search result headers but this doesn’t appear to be enabled in any other engine. I used it to quickly scan between retailers as not everything shows up in pricespy or priceme.

I deployed a searxng instance this morning and have heard that you can use json to modify result presentation. Does anyone know if it’s possible to use that to display prices?

  • I play D4, Last Epoch and PoE.

    I enjoyed the D4 story for my first play through and the recent changes for season 4 have made levelling to endgame much more enjoyable. It is much simpler than PoE and I play it knowing that as something fun that I can pick up and put down at will.

    Last Epoch I’m playing to try out each mastery. Even though it’s now a 1.0 release it’s still a bit barebones. Give it a couple of cycles and it’ll be more fleshed out especially in the endgame. I think of it as a middle ground between the simplicity of D4 and complexity of PoE. I like that I can easily try off meta builds through passive refunds and make my own builds.

    PoE scratches the D2 itch for grinding. I’m an addict who like spreadsheets.

  • That’s what I’ve literally just traded up to from a Pi. Prodesk 600 G3 comes standard with a 6 core i5 8500, has 4 full size ram slots, an m2 ssd slot and has a mount for 3.5” hdd, all drawing only 65w.

    There’s a low profile one as well but then you’re stuck with sodimm, no space for a full size hdd and no pci-e slots.

    I picked it up second hand for NZD 100 so I imagine it would be even cheaper in the states.