Luckyfriend222

joined 1 year ago
[–] [email protected] 4 points 4 days ago (1 children)

You can already set up your photos to automatically save in Nextcloud? With Nextcloud sync client’s auto-upload feature? I have photos on phone and Nextcloud only.

[–] [email protected] 1 points 2 months ago (1 children)

Sorry, reread your post. I am indeed wrong. My entity control is done with script like turning porch light on, so that is why I have it in my widget. It is a script. Sorry about that.

[–] [email protected] 1 points 2 months ago (3 children)

Did you see the widget is back in HA on iOS18?

[–] [email protected] 2 points 3 months ago

I use this too. When SNMP is set up there are loads of things you can monitor with LibreNMS. Much less of a learning curve than Grafana + Prometheus, although the latter probably has some nice tweaks available that SNMP does not provide.

[–] [email protected] 5 points 5 months ago

Not a dad joke per say but:

What is the difference between a sperm cell and a lawyer?

A sperm cell has a one-in-a-billion chance of becoming human one day.

[–] [email protected] 2 points 1 year ago
[–] [email protected] 10 points 1 year ago (1 children)

I understand what you mean. Thank you for taking the time to answer. I appreciate it.

[–] [email protected] 15 points 1 year ago

Sorry for asking a question, on a discussion thread dedicated to this sport and more specifically this session, relating to an incident that just happened. No one HAS to answer me, I asked and other online users were nice enough to answer me. I had in fact read about the Sainz retirement, but had no info regarding the "security" thing. Hence me asking. If you don't want to answer, don't. But no need to tell someone off purely because they had asked a question, dude.

[–] [email protected] 7 points 1 year ago (2 children)

I would think this will be a lot of work to "undo" after the race.

 

Hi everyone

I have read through the documentation now several times, and I just want to soundboard something with someone. Regarding the environments we can set up. Is this meant for example as a production cluster and a dev cluster? And if so, is it possible to put a docker swarm cluster in there? I don't see how gitlab will 'know' how to deploy an application to docker swarm? What am I missing? Or am I better off just deploying "manually" via the CI/CD pipeline like I am doing now?

TIA

 

Hi community

I have a pipeline where a stack (service) is deployed to my docker swarm. I want to use $CI_PROJECT_NAME in my docker service definition file to define the docker service name. But it seems the variable is not being expanded, or something else is wrong. I need to have a generic yml so I can distribute this to all devs and they don't have to change anything.

Example of what I am trying to achieve:

version: '3.9'
services:
  $CI_PROJECT_NAME:
    image: myregistry/devops1/$CI_PROJECT_NAME/$CI_PROJECT_NAME:latest
    deploy:
      replicas: 3
      endpoint_mode: dnsrr
      update_config:
        parallelism: 1
        delay: 3s
        order: start-first
        failure_action: rollback
        monitor: 1m
      restart_policy:
        max_attempts: 3
      placement:
        max_replicas_per_node: 1
    networks:
      - microservices
    volumes:
      - apache-logs:/var/log/

networks:
  microservices:
    external: true


volumes:
  apache-logs:
    driver: local
    driver_opts:
      o: bind
      device: /mnt/swarm_shared/services/$CI_PROJECT_NAME
      type: none

I know this is not a docker forum, but was thinking the issue is with my pipeline rather than my docker compose file. I would appreciate any help I can get. TIA

EDIT: As per this community post I used a sed replacement command to solve my problem. Ugly, but functional.

Thanks for the input!

view more: next ›