I’ve changed the host to db
Also tried various docker-compose files I’ve found and I end up with the same result.
Starting to think it’s something on my side, rather than the install.
There’s also an argument for restarting your computer and the docker daemon. Sometimes networking things especially can get into weird states with docker.
That docker-compose.yml file should result in a fully working already installed farmOS instance. i.e. no manual install step - just login with the username ‘root’ and the password ‘test’.
Nope, those are different approaches to a similar end. If you’ve been running things like that, it’s probably best to do a docker ps and see if you’ve got any farmOS/DB instances already running…
@pat Are you following the directions from the “Development environment” documentation?
That is different from the “Hosting” instructions, which is focused on production hosting, and doesn’t use Docker Compose. The development environment instructions should give you a working environment simply by copying the example docker-compose.yml and running docker-compose up.
Ok. Thanks.
I tried the hosting instructions, but could not find a good and clear info on setting up the database.
So I ended up with different .yml-files and all gave the same error.
Yea that’s because there are a lot of different ways to set up a production database - so the farmOS.org instructions leave that up to you. The “Development Environment” take a very specific approach with a PostgreSQL database running in Docker.
@tamtran Can we start a new forum topic for your new issue? It’s not a “database error” anymore. We could also debug in chat if that’s easier (I see you’ve posted in chat this morning, so I’ll check in there too)…