volumes: ssl: external: true victoria-metrics: external: true postgres-16: external: true postgres-17: external: true networks: default: name: yann_default driver: bridge enable_ipv6: true ipam: driver: default config: - subnet: 172.20.0.0/24 gateway: 172.20.0.1 - subnet: 2a01:e0a:5b7:35f1::/64 gateway: 2a01:e0a:5b7:35f1::1 services: postgres: image: postgres:16-alpine volumes: - postgres-16:/var/lib/postgresql/data - ssl:/ssl:ro dns: fd00::3:2 environment: - POSTGRES_PASSWORD=J5PdCv9ObVh5uZCJDpndzXoUumAKn52K networks: default: ipv6_address: 2a01:e0a:5b7:35f1::5432 restart: always caddy: image: caddy:alpine volumes: - ssl:/ssl:ro - /etc/caddy:/etc/caddy - /srv/www:/srv/www - /srv/www/nfs/kiwi/Videos:/srv/www/nfs/kiwi/Videos:ro restart: always ports: - 443:443 - 443:443/udp - 80:80 mem_limit: 1G command: caddy run --config /etc/caddy/Caddyfile --adapter caddyfile networks: default: ipv6_address: 2a01:e0a:5b7:35f1::443 ipv4_address: 172.20.0.250 redis: image: redis:alpine restart: always volumes: - /srv/docker/volume/redis/data:/data - /srv/docker/volume/redis/config/redis.conf:/usr/local/etc/redis/redis.conf:ro command: redis-server /usr/local/etc/redis/redis.conf mem_limit: 512M dns: 192.168.3.2 networks: default: ipv6_address: 2a01:e0a:5b7:35f1::6379 pdns: image: pdns-auth-49:latest volumes: - /srv/docker/volume/pdns.conf:/etc/pdns/pdns.conf:ro ports: - "192.168.3.10:53:53/udp" - "192.168.3.10:53:53/tcp" command: /usr/sbin/pdns_server --guardian=no --daemon=no --disable-syslog --log-timestamp=no --write-pid=no restart: always mem_limit: 128M dns: 192.168.3.2 networks: default: ipv6_address: 2a01:e0a:5b7:35f1::53 pdns-exporter: image: debian:bullseye-slim volumes: - /srv/docker/volume/prometheus/powerdns_exporter/powerdns_exporter:/run/powerdns_exporter:ro restart: always mem_limit: 128M command: /run/powerdns_exporter -api-url http://pdns:8081/api/v1/ -api-key ${API_KEY} grafana: image: grafana/grafana:11.4.1 environment: - GF_INSTALL_PLUGINS=https://github.com/VictoriaMetrics/victorialogs-datasource/releases/download/v0.4.0/victorialogs-datasource-v0.4.0.zip;victorialogs-datasource - GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=victorialogs-datasource volumes: - /srv/docker/volume/grafana/grafana.ini:/etc/grafana/grafana.ini restart: always mem_limit: 1G php: image: php83-alpine extra_hosts: - "mail.verry.org:192.168.42.3" dns: 192.168.3.2 command: php-fpm volumes: - /srv/www:/srv/www restart: always miniflux: image: miniflux/miniflux:latest-distroless env_file: env/miniflux restart: always mem_limit: 128M pgbouncer: image: pgbouncer-alpine volumes: - /srv/docker/volume/pgbouncer:/etc/pgbouncer:ro dns: 192.168.3.2 restart: always mem_limit: 128M vmalert: image: victoriametrics/vmalert volumes: - /srv/docker/volume/victoriametrics/vmalert/alert.rules:/alert.rules:ro command: -rule=/alert.rules -datasource.url=http://victoria:8428 -notifier.url=http://prometheus-alertmanager:9093 -enableTCP6 restart: always mem_limit: 512M vmagent: image: victoriametrics/vmagent volumes: - /srv/docker/volume/victoriametrics/vmagent/prometheus.yml:/prometheus.yml:ro - /srv/docker/volume/victoriametrics/vmagent/blackbox:/blackbox:ro extra_hosts: - "peach.verry.org:172.17.0.1" - "ns2.vpn6:fd00::42:2" - "ns3.vpn6:fd00::42:3" - "backup-01.dinoutoo.vpn6:fd00::42:9" - "unbound-exporter:192.168.3.2" - "quichante.vpn6:fd00::42:4" - "click.vpn6:fd00::42:6" - "quizz.vpn6:fd00::42:8" - "kiwi.verry.org:2a01:e0a:5b7:35f3::6" - "banana.verry.org:2a01:e0a:5b7:35f3::11" - "backup-01.dinoutoo.vpn:192.168.42.9" - "home.verry.org:2a01:e0a:5b7:35f1::443" - "mail.verry.org:192.168.3.5" command: -enableTCP6 -promscrape.config=/prometheus.yml -remoteWrite.url=http://victoria:8428/api/v1/write -sortLabels -promscrape.config.strictParse=false restart: always mem_limit: 512M prometheus-alertmanager: image: prom/alertmanager volumes: - /srv/docker/volume/prometheus/config/alertmanager.yml:/etc/alertmanager/alertmanager.yml:ro - /srv/docker/volume/alertmanager/data:/alertmanager:rw extra_hosts: - "mail.verry.org:192.168.3.5" restart: always mem_limit: 128M command: - "--config.file=/etc/alertmanager/alertmanager.yml" - "--storage.path=/alertmanager" - "--web.external-url=https://alertmanager.verry.org/" prometheus-blackbox: image: prom/blackbox-exporter volumes: - /srv/docker/volume/prometheus/config/blackbox.yml:/etc/prometheus/blackbox.yml:ro cap_add: - NET_RAW extra_hosts: - "mail.verry.org:192.168.3.5" restart: always mem_limit: 128M prometheus-postgres: image: quay.io/prometheuscommunity/postgres-exporter env_file: env/prometheus-postgres restart: always mem_limit: 128M prometheus-redis: image: oliver006/redis_exporter env_file: env/prometheus-redis restart: always mem_limit: 128M prometheus-hue: image: alpine volumes: - /srv/docker/volume/hue_exporter:/hue_exporter:ro command: '/hue_exporter/hue_exporter -metrics-file=/hue_exporter/hue_metrics.json -hue-url="192.168.0.3" -username="qR4H-LSFFPuMz607ALjz56GF9qE4mmmsx4qrmD7Q" -listen-address=0.0.0.0:9773' restart: always mem_limit: 128M promtail: image: grafana/promtail command: -config.file=/etc/promtail/promtail.yaml restart: always mem_limit: 128M volumes: - /srv/docker/volume/promtail:/etc/promtail:ro victoria: image: victoriametrics/victoria-metrics volumes: - victoria-metrics:/victoria command: -storageDataPath /victoria -retentionPeriod 60 -enableTCP6 restart: always cpus: 1 mem_limit: 2048M dnsdist: image: dnsdist volumes: - /srv/docker/volume/dnsdist/dnsdist.conf:/etc/dnsdist.conf:ro - ssl:/ssl restart: always mem_limit: 128M ports: - 853:853 command: /usr/bin/dnsdist -u nobody -g nobody -C /etc/dnsdist.conf --supervised -v networks: default: ipv6_address: 2a01:e0a:5b7:35f1::853 gitea: image: codeberg.org/forgejo/forgejo:7 volumes: - /srv/docker/volume/gitea/data:/data restart: always mem_limit: 512M depends_on: - postgres routeros-exporter: image: python-routeros restart: always mem_limit: 128M env_file: env/routeros-exporter whoami: image: traefik/whoami restart: always environment: - WHOAMI_NAME=iamverry # minio: # image: minio/minio # volumes: # - /srv/docker/volume/minio/data:/data:rw # env_file: env/minio # restart: always # command: minio server /data # mem_limit: 1G # cpus: 0.5 matrixsyncv3: image: alpine:3.21 env_file: env/matrixsyncv3 volumes: - /srv/docker/volume/sliding-sync/bin/syncv3:/bin/syncv3 restart: always command: /bin/syncv3 mem_limit: 1G cpus: 1 dendrite: image: matrixdotorg/dendrite-monolith:latest volumes: - /srv/docker/volume/dendrite/dendrite.yaml:/etc/dendrite/dendrite.yaml:ro - /srv/docker/volume/dendrite/cert:/cert:ro - /srv/docker/volume/dendrite/media:/var/dendrite/media - /srv/docker/volume/dendrite/logs:/var/dendrite/logs - /srv/docker/volume/dendrite/jetstream:/var/dendrite/jetstream restart: always mem_limit: 1G cpus: 1 matrix-alertmanager: image: jaywink/matrix-alertmanager:latest env_file: env/matrix-alertmanager restart: always mem_limit: 1G cpus: 1 authentik-server: image: ghcr.io/goauthentik/server:2024.6.0 restart: unless-stopped command: server volumes: - /srv/docker/volume/authentik/media:/media - /srv/docker/volume/authentik/custom-templates:/templates env_file: - env/authentik-server depends_on: - postgres - redis authentik-worker: image: ghcr.io/goauthentik/server:2024.6.0 restart: unless-stopped command: worker volumes: - /srv/docker/volume/authentik/media:/media - /srv/docker/volume/authentik/certs:/certs - /srv/docker/volume/authentik/custom-templates:/templates env_file: - env/authentik-worker depends_on: - postgres - redis homeassistant: image: ghcr.io/home-assistant/home-assistant:stable environment: - TZ='Europe/Paris' volumes: - /srv/docker/volume/homeassistant:/config restart: always uptime-kuma: image: louislam/uptime-kuma volumes: - /srv/docker/volume/uptime-kuma/data:/app/data:rw restart: always mem_limit: 4G cpus: 1 geoipupdate: image: "maxmindinc/geoipupdate:latest" volumes: - "/srv/docker/volume/geoip:/usr/share/GeoIP" env_file: env/geoipupdate vector: image: timberio/vector:latest-alpine env_file: - env/vector volumes: - /srv/docker/volume/vector/vector.yaml:/etc/vector/vector.yaml:ro depends_on: - victorialogs restart: unless-stopped victorialogs: image: victoriametrics/victoria-logs:latest-scratch env_file: - env/victorialogs volumes: - /srv/docker/volume/victoria-logs/data:/vlogs command: - -storageDataPath=/vlogs - -loggerFormat=json - -syslog.listenAddr.tcp=:514 - -syslog.listenAddr.udp=:514 ports: - 514:514 # syslog/tcp - 514:514/udp # syslog/udp depends_on: - caddy restart: unless-stopped networks: default: ipv6_address: 2a01:e0a:5b7:35f1::5000 vikunja: image: vikunja/vikunja env_file: - env/vikunja volumes: - /srv/docker/volume/vikunja:/app/vikunja/files depends_on: - postgres restart: unless-stopped ring-mqtt: container_name: ring-mqtt restart: unless-stopped image: tsightler/ring-mqtt ports: - 8554:8554 # Enable RTSP port for external media player access volumes: - /srv/docker/volume/ring-mqtt:/data # Mapping of local folder to provide persistent storage logging: #limit logs to 10m and 3 files options: max-size: 10m max-file: "3"