IRC logs for #farmOS, 2023-05-17 (GMT)

2023-05-16
2023-05-18
TimeNickMessage
[07:56:04]<Mims[m]>ACTION uploaded an image: (44KiB) < https://libera.ems.host/_matrix/media/v3/download/matrix.org/euecjgANIWU... >
[07:56:17]<Mims[m]>has anyone encountered this before ?
[07:56:44]<Mims[m]>i runned the docker image , my db server is running but i keep getting this error since yesterday
[07:57:45]<Mims[m]>i've tried connecting postgres and mariadb , even tried phpmyadmin but all didn't work
[08:14:24]<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?
[08:14:54]<Mims[m]>i'm running them seperately
[08:14:56]<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.
[08:15:34]<mstenta[m]>What are you entering as your database URL when you try to configure the database in farmOS installation?
[08:15:43]<Mims[m]>how can i access docker-compose.yml?
[08:16:01]<mstenta[m]>Are you familiar with Docker Compose at all?
[08:16:13]<Mims[m]>mstenta[m]: im using phpmyadmin
[08:16:16]<Mims[m]>mstenta[m]: No
[08:16:18]<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.
[08:16:23]<Mims[m]>my first time trying
[08:16:59]<mstenta[m]>Are you setting up a farmOS instance for development, or for hosting real data?
[08:17:16]<mstenta[m]>We provide example docker-compose.yml files here: https://github.com/farmOS/farmOS/tree/2.x/docker
[08:17:18]<Mims[m]>i pulled the image directly , so the container was created for me
[08:17:28]<Mims[m]>mstenta[m]: for development
[08:17:59]<mstenta[m]>Follow this guide: https://farmos.org/development/environment/
[08:18:09]<mstenta[m]>It describes exactly what to do, using Docker Compose
[08:18:14]<Mims[m]>okay
[08:18:18]<Mims[m]>thank you
[19:01:16]* peko[m] has joined #farmos