this post was submitted on 09 Nov 2023
1 points (100.0% liked)

Self-Hosted Main

511 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

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?

โ€‹

โ€‹

โ€‹

โ€‹

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 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.