Howdy! Sorry if this is a supid question. I’ve been trying to get this working for like 5 days and I’ve been researching and reading docs, but I’m just not getting it. I’m fairly new to selfhosing and I’m trying to set up Jellyfin remote access on my NAS. My NAS is a QNAP product running QTS (which I absolutely hate). QTS uses their own weird version of Docker.

When I start Caddy with a docker compose file, I get an error that port 443 is in use and the container can’t be started. If I create a container in the Container Station app directly from the Docker Image, it starts up fine. Container Station handles environment variables in a dumb way so I am having trouble specifying the Caddyfile location when I do it that way.

Does anyone know why it works fine in that way but not the other? Both use port 443 but when I do it in a docker compose file, it says the port is in use but when I do it the other way, it doesn’t and starts fine.

Note: I know you can do this with Tailscale also, but I want to use my custom domain to make it easier for sharing in the future.

  • doeknius_gloek@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    4
    ·
    11 hours ago

    Is your Caddy actually reachable on port 443 when you use the Container Station App?

    My first thought was that your NAS might use port 443 for its own web ui?

    • damnthefilibuster@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      11 hours ago

      Yeah, most likely the Compose version is aware of the ports in use and 443 is pretty standard for the NAS to keep to itself. The direct docker process would not be aware of the default config, or env Vars.

      Also, welcome to Selfhosing! 😂

    • w3dd1e@lemmy.zipOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 hours ago

      Yes it works fine if I build the container from The imagine directly inside the container station app, but I’m having trouble pointing that to the Caddyfile.

      If I try to create the container from a docker compose file, it says it can’t bind to port 443 because it’s already in use.