Bonjour à tous
Petit sujet pour rassembler ici vos containers et compose de ceux que vous utilisez en corrélations avec Home Assistant.
Je vais moi-même l’alimenter dès que j’ai un moment.
Pour en citer quelques-uns (les compose suivront) :
- Home Assistant (et oui
)
homeassistant:
container_name: homeassistant
image: homeassistant/raspberrypi4-homeassistant:2021.7.1
volumes:
- /home/homeassistant/config:/config
- /etc/localtime:/etc/localtime:ro
- /media/nas:/media
restart: unless-stopped
network_mode: host
- Nginx proxy manager
##################################################
# NGINX PROXY MANAGER
##################################################
npm:
image: 'jc21/nginx-proxy-manager:2.9.2'
restart: always
ports:
# Public HTTP Port:
- '80:80'
# Public HTTPS Port:
- '443:443'
# Admin Web Port:
- '81:81'
environment:
# These are the settings to access your db
DB_MYSQL_HOST: "db"
DB_MYSQL_PORT: 3306
DB_MYSQL_USER: "nginx"
DB_MYSQL_PASSWORD: "nginx"
DB_MYSQL_NAME: "nginx"
# If you would rather use Sqlite uncomment this
# and remove all DB_MYSQL_* lines above
# DB_SQLITE_FILE: "/data/database.sqlite"
# Uncomment this if IPv6 is not enabled on your host
# DISABLE_IPV6: 'true'
volumes:
- ./docker/npm/data:/data
- ./docker/npm/data/letsencrypt:/etc/letsencrypt
depends_on:
- db
################################################
# MARIA-DB (DEPENDANCE DE NGINX-PROXY-MANAGER
################################################
db:
image: 'jc21/mariadb-aria:10.4.15'
restart: always
environment:
MYSQL_ROOT_PASSWORD: 'nginx'
MYSQL_DATABASE: 'nginx'
MYSQL_USER: 'nginx'
MYSQL_PASSWORD: 'nginx'
volumes:
- ./docker/npm/mysql:/var/lib/mysql
- File Editor
################################################
# Configurator
################################################
hass-configurator:
image: "causticlab/hass-configurator-docker:arm"
restart: always
ports:
- "3218:3218/tcp"
# networks:
# - host
volumes:
- "./docker/fileditor/configurator-config:/config"
- "/home/homeassistant/config:/hass-config"
environment:
- HC_BASEPATH=/hass-config
- HC_ENFORCE_BASEPATH=true
- HC_DIRSFIRST=true
- DuckDNS
################################################
# DuckDNS - Update IP to DNS
################################################
duckdns:
#image: linuxserver/duckdns:ce996582-ls65
image: linuxserver/duckdns:latest
container_name: duckdns
environment:
#- PUID=1000
#- PGID=1000
- TZ=Europe/Paris
- SUBDOMAINS=<ndd1>,<ndd2> #mise a jour de ndd1.duckdns.org et ndd2.duckdns.org
- TOKEN=<TOKEN>
- ddclient (mise à jour dns)
→ https://forum.hacf.fr/t/dns-ovh-livebox/4709/23?u=clemalex
Hâte de vous lire