HeyPuter / puter

🌐 The Internet OS! Free, Open-Source, and Self-Hostable.
https://puter.com
GNU Affero General Public License v3.0
26.8k stars 1.84k forks source link

docker-compose issue - Does not create config.json #769

Open dennysubke opened 2 months ago

dennysubke commented 2 months ago

I want to install Puter on my umbrel home server using docker-compose. All configurations were carried out as described in the docs. Umbrel can be reached via the address umbrel.local. Unfortunately after the installation I get the following screen:

1-puterscreen

I mounted the config in the following directory: ${APP_DATA_DIR}/config:/volatile/config A config.json was not generated. So I added it with the following content:

{
  "server_id": "umbrel.local",
  "http_port": "4100",
  "domain": "umbrel.local",
  "pub_port": "4100"
}

Nevertheless, I get the error message from the screen above, even though according to the logs everything should be fine. The username and password are also generated.

2-puterlogs

Here the docker-compose.yml can be found from my repository.

I've already tried a lot, but I've now reached the end. There has to be a solution?!?! I would be grateful for any help or ideas. 😎

@KernelDeimos , maybe you?

jelveh commented 2 months ago

We'll look into this. I'm at the end of my wits with docker.

dennysubke commented 1 month ago

Hey @jelveh Any news?

KernelDeimos commented 3 weeks ago

@dennysubke Apologies for the late reply on this; it's probably reading /etc/puter/config.json instead. The docker image is configured more similarly to a production deployment than local development. The first clue was that it didn't generate the config.json - Puter will always generate a default if none exists.