services: # Homarr - Application Dashboard homarr: image: ghcr.io/ajnart/homarr:latest container_name: homarr security_opt: - no-new-privileges:true restart: unless-stopped env_file: - .env networks: - default - socket_proxy ports: - "$HOMARR_PORT:7575" volumes: # - /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration - ./appdata/homarr/configs:/app/data/configs - ./appdata/homarr/icons:/app/public/icons - ./appdata/homarr/data:/data environment: - DOCKER_HOST PUID: ${PUID} # Reference PUID from .env PGID: ${PGID} # # DOCKER-LABELS-PLACEHOLDER healthcheck: test: ["CMD", "curl", "-f", "http://localhost:7575"] interval: 10s retries: 3 timeout: 10s start_period: 30s