Skip to content
Snippets Groups Projects
Commit 5e92bac7 authored by void's avatar void
Browse files
parents 1ed70fbf ec8e1848
No related branches found
No related tags found
No related merge requests found
Showing
with 53 additions and 18 deletions
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
- config/esphome_plug07.yaml - config/esphome_plug07.yaml
- config/esphome_plug08.yaml - config/esphome_plug08.yaml
- config/esphome_popcorn.yaml - config/esphome_popcorn.yaml
- config/esphome_switchboard.yaml
register: config register: config
- name: "stop {{ servicename }} docker" - name: "stop {{ servicename }} docker"
......
{% set devicename = "esphome_switchboard" %}
{% include "/includes/ansible.inc.yaml" %}
{% include "/includes/board.d1_mini.inc.yaml" %}
comment: Ist kaputt
{% include "/includes/common.inc.yaml" %}
binary_sensor:
- platform: gpio
pi2n:
number: GPIO13
mode: INPUT_PULLUP
inverted: True
name: "{{ devicename }} Button"
on_press:
-
- platform: status
name: "{{ devicename }} Status"
switch:
- platform: virtual
name: "MQTT Switch Test"
id: "switch1"
payload_off: "OFF"
payload_on: "ON"
retain: true
esphome:
name: "{{ devicename }}"
platform: ESP8266
...@@ -4,7 +4,7 @@ services: ...@@ -4,7 +4,7 @@ services:
app: app:
image: grafana/grafana:9.3.6 image: grafana/grafana:9.4.3
restart: always restart: always
volumes: volumes:
- "{{ basedir }}/grafana.ini:/etc/grafana/grafana.ini" - "{{ basedir }}/grafana.ini:/etc/grafana/grafana.ini"
......
...@@ -2,11 +2,11 @@ version: "3" ...@@ -2,11 +2,11 @@ version: "3"
services: services:
mongodb: mongodb:
image: "mongo:5.0" image: "mongo:6.0.4"
restart: "on-failure" restart: "always"
opensearch: opensearch:
image: "opensearchproject/opensearch:2.4.1" image: "opensearchproject/opensearch:2.6.0"
environment: environment:
- "TZ=Europe/Berlin" - "TZ=Europe/Berlin"
- "OPENSEARCH_JAVA_OPTS=-Xms1g -Xmx1g" - "OPENSEARCH_JAVA_OPTS=-Xms1g -Xmx1g"
...@@ -15,11 +15,11 @@ services: ...@@ -15,11 +15,11 @@ services:
- "action.auto_create_index=false" - "action.auto_create_index=false"
- "plugins.security.ssl.http.enabled=false" - "plugins.security.ssl.http.enabled=false"
- "plugins.security.disabled=true" - "plugins.security.disabled=true"
restart: "on-failure" restart: "always"
graylog: graylog:
hostname: "server" hostname: "server"
image: "graylog/graylog:5.0" image: "graylog/graylog:5.0.5"
entrypoint: "/usr/bin/tini -- wait-for-it opensearch:9200 -- /docker-entrypoint.sh" entrypoint: "/usr/bin/tini -- wait-for-it opensearch:9200 -- /docker-entrypoint.sh"
environment: environment:
TZ: "Europe/Berlin" TZ: "Europe/Berlin"
...@@ -33,7 +33,7 @@ services: ...@@ -33,7 +33,7 @@ services:
ports: ports:
- "514:5140/udp" # Syslog - "514:5140/udp" # Syslog
- "514:5140/tcp" # Syslog - "514:5140/tcp" # Syslog
restart: "on-failure" restart: "always"
labels: labels:
- traefik.enable=true - traefik.enable=true
- traefik.http.routers.{{ servicename }}.rule=Host(`{{ domain }}`) - traefik.http.routers.{{ servicename }}.rule=Host(`{{ domain }}`)
......
...@@ -4,7 +4,7 @@ version: "2.1" ...@@ -4,7 +4,7 @@ version: "2.1"
services: services:
app: app:
image: lscr.io/linuxserver/heimdall:2.5.3 image: lscr.io/linuxserver/heimdall:2.5.6
restart: always restart: always
environment: environment:
- PUID=1000 - PUID=1000
......
...@@ -5,7 +5,7 @@ services: ...@@ -5,7 +5,7 @@ services:
app: app:
image: homeassistant/home-assistant:2023.1 image: homeassistant/home-assistant:2023.3
restart: always restart: always
volumes: volumes:
- "/etc/localtime:/etc/localtime:ro" - "/etc/localtime:/etc/localtime:ro"
...@@ -24,7 +24,7 @@ services: ...@@ -24,7 +24,7 @@ services:
influxdb: influxdb:
image: influxdb:2.6.0 image: influxdb:2.6.1
restart: always restart: always
ports: ports:
- "{{ int_ip4 }}:{{ influxdb_port }}:8086" - "{{ int_ip4 }}:{{ influxdb_port }}:8086"
......
...@@ -16,7 +16,7 @@ services: ...@@ -16,7 +16,7 @@ services:
influxdb: influxdb:
image: influxdb:2.6.0 image: influxdb:2.6.1
restart: always restart: always
ports: ports:
- {{ int_ip4 }}:{{ influxdb_port }}:8086 - {{ int_ip4 }}:{{ influxdb_port }}:8086
...@@ -34,7 +34,7 @@ services: ...@@ -34,7 +34,7 @@ services:
tgbinary: tgbinary:
image: telegraf:1.22.4 image: telegraf:1.25.3
restart: always restart: always
depends_on: depends_on:
- app - app
...@@ -45,7 +45,7 @@ services: ...@@ -45,7 +45,7 @@ services:
tgfloat: tgfloat:
image: telegraf:1.22.4 image: telegraf:1.25.3
restart: always restart: always
depends_on: depends_on:
- app - app
......
...@@ -5,7 +5,7 @@ services: ...@@ -5,7 +5,7 @@ services:
app: app:
image: mbentley/omada-controller:5.7 image: mbentley/omada-controller:5.9
restart: always restart: always
ports: ports:
- {{ omada_port_http }}:8088 - {{ omada_port_http }}:8088
......
...@@ -9,7 +9,9 @@ services: ...@@ -9,7 +9,9 @@ services:
volumes: volumes:
- "{{ basedir }}/data:/data" - "{{ basedir }}/data:/data"
environment: environment:
- TZ=Europe/Berlin TZ: "Europe/Berlin"
PGID: 1001
PUID: 1001
labels: labels:
- traefik.enable=true - traefik.enable=true
- traefik.http.routers.{{ servicename }}.rule=Host(`{{ domain }}`) - traefik.http.routers.{{ servicename }}.rule=Host(`{{ domain }}`)
......
...@@ -5,7 +5,7 @@ services: ...@@ -5,7 +5,7 @@ services:
app: app:
image: homeassistant/home-assistant:2023.1 image: homeassistant/home-assistant:2023.3.3
restart: always restart: always
volumes: volumes:
- "/etc/localtime:/etc/localtime:ro" - "/etc/localtime:/etc/localtime:ro"
......
...@@ -3,7 +3,7 @@ version: '3' ...@@ -3,7 +3,7 @@ version: '3'
services: services:
app: app:
image: netdata/netdata image: netdata/netdata:v1.38.1
restart: always restart: always
cap_add: cap_add:
- SYS_PTRACE - SYS_PTRACE
......
...@@ -5,7 +5,7 @@ services: ...@@ -5,7 +5,7 @@ services:
app: app:
image: prom/prometheus:v2.41.0 image: prom/prometheus:v2.42.0
restart: always restart: always
ports: ports:
- 9090:9090 - 9090:9090
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment