| 11:56 | * | uploaded an image: (44KiB) < libera.ems.host/_matrix/media/v3/downloa > |
| 11:56 | Mims[m] | has anyone encountered this before ? |
| 11:56 | Mims[m] | i runned the docker image , my db server is running but i keep getting this error since yesterday |
| 11:57 | Mims[m] | i've tried connecting postgres and mariadb , even tried phpmyadmin but all didn't work |
| 12:14 | mstenta[m] | Mims: this could be related to the way that your docker network is set up. Are you running both the farmOS and database containers via a `docker-compose.yml` configuration? Or are you running them separately via `docker run` commands? |
| 12:14 | Mims[m] | i'm running them seperately |
| 12:14 | mstenta[m] | If they are both run via docker-compose.yml they will be within the same docker network, and will be able to talk to one another using the name of the service in the YML file. |
| 12:15 | mstenta[m] | What are you entering as your database URL when you try to configure the database in farmOS installation? |
| 12:15 | Mims[m] | how can i access docker-compose.yml? |
| 12:16 | mstenta[m] | Are you familiar with Docker Compose at all? |
| 12:16 | Mims[m] | mstenta[m]: im using phpmyadmin |
| 12:16 | Mims[m] | mstenta[m]: No |
| 12:16 | mstenta[m] | It's basically a way of describing a set of containers that you want to run together via a docker-compose.yml file. |
| 12:16 | Mims[m] | my first time trying |
| 12:16 | mstenta[m] | Are you setting up a farmOS instance for development, or for hosting real data? |
| 12:17 | mstenta[m] | We provide example docker-compose.yml files here: github.com/farmOS/farmOS/tree/2.x/docker |
| 12:17 | Mims[m] | i pulled the image directly , so the container was created for me |
| 12:17 | Mims[m] | mstenta[m]: for development |
| 12:17 | mstenta[m] | Follow this guide: farmos.org/development/environment/ |
| 12:18 | mstenta[m] | It describes exactly what to do, using Docker Compose |
| 12:18 | Mims[m] | okay |
| 12:18 | Mims[m] | thank you |
| 23:01 | * | peko[m] has joined |