vmorganp / Lazytainer

Docker container lazy loading
MIT License
576 stars 20 forks source link

Frontend and some issues with healthcheck/status #29

Closed webysther closed 1 year ago

webysther commented 1 year ago

I look for a solution to reduce so many stacks I have on my self-host, now about +40 and I found this project I start to using, but I used on almost every container a healthcheck which kill the usability and my current status check service with uptime kuma, which start the container every time he hits the domain. So I want to list a few things after start using this project as a feedback:

This is before change to use the project:

version: '3.9'

services:
  it-tools:
    image: corentinth/it-tools:2023.5.14-77f2efc
    container_name: app-tools
    cpuset: '0'
    networks:
      it-tools:
    expose:
      - 80
    healthcheck:
      test: [
        "CMD", "wget", "--spider", "-q", 
        "localhost"
      ]
      interval: 60s
      retries: 5
      timeout: 10s
    restart: unless-stopped

networks:
  it-tools:
    name: it-tools

Allm these things make me think about the network traffic and I realize maybe read the access log from a nginx/apache based on host make more sense, but only a "garbage brain dump"

webysther commented 1 year ago

Just make sense a layer 7 than a layer 3, I don't know, what do you think?

webysther commented 1 year ago

Found this one https://github.com/acouvreur/sablier