Looping db check when installing via docker compose

Hi,

I am trying to install homearr using the docker compose on https://homarr.dev/

version: '3'
#---------------------------------------------------------------------#
#     Homarr - A simple, yet powerful dashboard for your server.     #
#---------------------------------------------------------------------#
services:
  homarr:
    container_name: homarr
    image: ghcr.io/ajnart/homarr:latest
    restart: always
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
      - /.config/services/prod/web/homarr/configs:/app/data/configs
      - /.config/services/prod/web/homarr/icons:/app/public/icons
      - /.config/services/prod/web/homarr/data:/data
    ports:
      - '7575:7575'

and I'm getting a looping message

homarr    | ℹ Instance is using a database on the file system. Checking if file '/data/db.sqlite' is writable...
homarr    | ℹ Database is writeable
Solution
Then closing the terminal will terminate Homarr, yes. You should press CTRL + C and run
docker compose up -d
instead. -d means detached - it will run in the background without relying on your Terminal session
Was this page helpful?