update ipv6 subnet and VM retention

This commit is contained in:
Yann Verry 2022-09-25 22:46:03 +02:00
parent aa4dfa2d2d
commit 606e96b9ef

View file

@ -22,8 +22,8 @@ networks:
config: config:
- subnet: 172.20.0.0/24 - subnet: 172.20.0.0/24
gateway: 172.20.0.1 gateway: 172.20.0.1
- subnet: 2a01:e0a:49e:2b81::/64 - subnet: 2a01:e0a:5b7:35f1::/64
gateway: 2a01:e0a:49e:2b81::1 gateway: 2a01:e0a:5b7:35f1::1
services: services:
openldap: openldap:
@ -43,7 +43,7 @@ services:
dns: fd00::3:2 dns: fd00::3:2
networks: networks:
default: default:
ipv6_address: 2a01:e0a:49e:2b81::5432 ipv6_address: 2a01:e0a:5b7:35f1::5432
restart: always restart: always
haproxy: haproxy:
image: haproxy:alpine image: haproxy:alpine
@ -59,7 +59,7 @@ services:
dns: fd00::3:2 dns: fd00::3:2
networks: networks:
default: default:
ipv6_address: 2a01:e0a:49e:2b81::8443 ipv6_address: 2a01:e0a:5b7:35f1::8443
caddy: caddy:
image: caddy:alpine image: caddy:alpine
volumes: volumes:
@ -75,7 +75,7 @@ services:
dns: 192.168.3.2 dns: 192.168.3.2
networks: networks:
default: default:
ipv6_address: 2a01:e0a:49e:2b81::443 ipv6_address: 2a01:e0a:5b7:35f1::443
redis: redis:
image: redis:alpine image: redis:alpine
restart: always restart: always
@ -87,7 +87,7 @@ services:
dns: 192.168.3.2 dns: 192.168.3.2
networks: networks:
default: default:
ipv6_address: 2a01:e0a:49e:2b81::6379 ipv6_address: 2a01:e0a:5b7:35f1::6379
mariadb: mariadb:
image: mariadb image: mariadb
volumes: volumes:
@ -98,7 +98,7 @@ services:
dns: 192.168.3.2 dns: 192.168.3.2
networks: networks:
default: default:
ipv6_address: 2a01:e0a:49e:2b81::3306 ipv6_address: 2a01:e0a:5b7:35f1::3306
restart: always restart: always
lumieredesoy-ghost: lumieredesoy-ghost:
image: ghost:5-alpine image: ghost:5-alpine
@ -119,7 +119,7 @@ services:
dns: 192.168.3.2 dns: 192.168.3.2
networks: networks:
default: default:
ipv6_address: 2a01:e0a:49e:2b81::53 ipv6_address: 2a01:e0a:5b7:35f1::53
pdns-exporter: pdns-exporter:
image: debian:bullseye-slim image: debian:bullseye-slim
volumes: volumes:
@ -173,9 +173,9 @@ services:
- "quichante.vpn6:fd00::42:4" - "quichante.vpn6:fd00::42:4"
- "click.vpn6:fd00::42:6" - "click.vpn6:fd00::42:6"
- "quizz.vpn6:fd00::42:8" - "quizz.vpn6:fd00::42:8"
- "kiwi.verry.org:2a01:e0a:49e:2b83::6" - "kiwi.verry.org:2a01:e0a:5b7:35f3::6"
- "backup-01.dinoutoo.vpn:192.168.42.9" - "backup-01.dinoutoo.vpn:192.168.42.9"
- "home.verry.org:2a01:e0a:49e:2b81::443" - "home.verry.org:2a01:e0a:5b7:35f1::443"
- "mail.verry.org:192.168.3.5" - "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 command: -enableTCP6 -promscrape.config=/prometheus.yml -remoteWrite.url=http://victoria:8428/api/v1/write -sortLabels -promscrape.config.strictParse=false
restart: always restart: always
@ -239,7 +239,7 @@ services:
mem_limit: 128M mem_limit: 128M
networks: networks:
default: default:
ipv6_address: 2a01:e0a:49e:2b81::514 ipv6_address: 2a01:e0a:5b7:35f1::514
linky-exporter: linky-exporter:
userns_mode: "host" userns_mode: "host"
image: debian:bullseye-slim image: debian:bullseye-slim
@ -254,8 +254,10 @@ services:
image: victoriametrics/victoria-metrics image: victoriametrics/victoria-metrics
volumes: volumes:
- victoria-metrics:/victoria - victoria-metrics:/victoria
command: -storageDataPath /victoria -retentionPeriod 36 -enableTCP6 command: -storageDataPath /victoria -retentionPeriod 60 -enableTCP6
restart: always restart: always
cpus: 1
mem_limit: 2048M
dnsdist: dnsdist:
image: dnsdist image: dnsdist
volumes: volumes:
@ -268,7 +270,7 @@ services:
command: /usr/bin/dnsdist -u nobody -g nobody -C /etc/dnsdist.conf --supervised -v command: /usr/bin/dnsdist -u nobody -g nobody -C /etc/dnsdist.conf --supervised -v
networks: networks:
default: default:
ipv6_address: 2a01:e0a:49e:2b81::853 ipv6_address: 2a01:e0a:5b7:35f1::853
gitea: gitea:
image: gitea/gitea:dev image: gitea/gitea:dev
volumes: volumes: