Skip to content

Connection to database failed! Exitcode 132 MongoDB #24

Open
@zwugel

Description

@zwugel

Hi, when i run "sudo docker-compose up" i get two errors.

"automated-irrigation-system_mongodb_1 exited with code 132"
"Connection to database failed!"
database

I try to run it on a Raspberry PI Zero W with Raspberry Pi OS Lite - Kernel version: 5.4
cpuinfo

Here is my Docker-Compose.
docker-compose

I build it with these steps:

curl -sSL https://get.docker.com | sh
sudo usermod -aG docker pi
sudo apt-get install -y libffi-dev libssl-dev
sudo apt-get install -y python3 python3-pip
sudo apt-get remove python-configparser
sudo pip3 install docker-compose
sudo apt install git
git clone https://github.com/PatrickHallek/automated-irrigation-system
cd automated-irrigation-system
sudo nano docker-compose.yml  #change ip adress
sudo nano Dockerfile #change from issue https://github.com/PatrickHallek/automated-irrigation-system/issues/14#issuecomment-656077450
cd Backend 
sudo nano Dockerfile #change from issue https://github.com/PatrickHallek/automated-irrigation-system/issues/14#issuecomment-656077450
sudo docker-compose up

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions