Hi all,

I’m fairly technical, but of all things, this one has me stumped. I’ve got a variety of hardware / OS options to install stuff on, and my preferred option is a TrueNAS Core server where I have a variety of apps running in jails that have been working for a few years now.

I’m trying to run Mealie, and I have a spare unused Windows box. I suppose I could have installed Ubuntu on it, but I decided to try Docker Desktop in Windows. I was able to get things configured and start the Mealie container from the image, and it looks like it’s running fine on the assigned docker IP.

I mapped a port (9925) to the container in the startup options, and when I browse to localhost:9925/login I get an error message that says:
Server error

An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details.

When I look at the docker container logs, I see:

2023-11-08 22:19:48 Successfully started Caddy (pid=20) - Caddy is running in the background
2023-11-08 22:19:48 yarn run v1.22.19
2023-11-08 22:19:48 $ nuxt start -p 3001
2023-11-08 22:19:49 📷 [HPM] Proxy created: api  -> http://localhost:9000
2023-11-08 22:19:49 📷 [HPM] Proxy rewrite rule created: “api” ~> “/api”
2023-11-08 22:19:49 📷 [HPM] Proxy created: /api  -> http://localhost:9000
2023-11-08 22:19:49 📷 [HPM] Proxy created: /docs  -> http://localhost:9000
2023-11-08 22:19:49 📷 [HPM] Proxy created: /openapi.json  -> http://localhost:9000
2023-11-08 22:19:49 📷 Listening on: http://172.17.0.2:3001/

I’ve tried browsing to http://localhost:9000, I’ve tried mapping a different port and using that, nothing seems to work.

Any ideas what I’m doing wrong here? I feel like I’m pretty close, and probably doing something dumb.

Oh, one other fun thing. When I go to the container exec terminal and run “date” I see that it’s set to UTC. I wouldn’t think that would create an issue, but I thought maybe there’s a timezone mismatch possibly?

  • Akmantainman@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    This docker compose is for development, there are examples for both Postgres and SQLite in the documentation as well as all supported environment variables.

    • jared252016@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Not all docker-compose files are development, although it is in this case. The documentation, if available, will tell you what each env var does.

      You know the docker-compose.yml will have everything you need though, you just need to tweak it. Absolutely nothing wrong with seeking out the docker-compose as most env variables are self explanatory.