Compare commits

..

6 commits

Author SHA1 Message Date
Yann Verry abf4eb0876 20230322 2023-03-22 22:53:30 +01:00
Yann Verry d9e2b171e1 fix hue problem 2022-12-30 18:19:42 +01:00
Yann Verry e1cd1b08cf update alertmanager 2022-11-19 18:19:02 +01:00
Yann Verry 76b667529d add matrix notification 2022-11-17 21:56:21 +01:00
Yann Verry 89305a7be1 add upgrade miniflux 2022-11-17 21:28:15 +01:00
Yann Verry f916f2316e add vikunja 2022-11-09 16:50:13 +01:00
2 changed files with 84 additions and 14 deletions

View file

@ -9,8 +9,12 @@ volumes:
external: true external: true
victoria-metrics: victoria-metrics:
external: true external: true
haproxy-socket:
external: true
postgres-13: postgres-13:
external: true external: true
postgres-15:
external: true
networks: networks:
default: default:
@ -36,11 +40,13 @@ services:
- 389:389 - 389:389
restart: always restart: always
postgres: postgres:
image: postgres:13-alpine image: postgres:15-alpine
volumes: volumes:
- postgres-13:/var/lib/postgresql/data - postgres-15:/var/lib/postgresql/data
- ssl:/ssl:ro - ssl:/ssl:ro
dns: fd00::3:2 dns: fd00::3:2
environment:
- POSTGRES_PASSWORD=J5PdCv9ObVh5uZCJDpndzXoUumAKn52K
networks: networks:
default: default:
ipv6_address: 2a01:e0a:5b7:35f1::5432 ipv6_address: 2a01:e0a:5b7:35f1::5432
@ -51,6 +57,7 @@ services:
- ssl:/ssl:ro - ssl:/ssl:ro
- /etc/haproxy:/usr/local/etc/haproxy:ro - /etc/haproxy:/usr/local/etc/haproxy:ro
- /etc/haproxy:/etc/haproxy:ro - /etc/haproxy:/etc/haproxy:ro
- haproxy-socket:/var/lib/haproxy:rw
ports: ports:
- 443:443 - 443:443
- 443:443/udp - 443:443/udp
@ -61,6 +68,16 @@ services:
networks: networks:
default: default:
ipv6_address: 2a01:e0a:5b7:35f1::443 ipv6_address: 2a01:e0a:5b7:35f1::443
vault:
image: hashicorp/vault
volumes:
- /srv/docker/volume/vault:/vault
restart: always
mem_limit: 128M
dns: 192.168.3.2
cap_add:
- IPC_LOCK
command: vault server -config /vault/config
caddy: caddy:
image: caddy:alpine image: caddy:alpine
volumes: volumes:
@ -124,7 +141,7 @@ services:
grafana: grafana:
image: grafana/grafana image: grafana/grafana
volumes: volumes:
- /srv/docker/volume/grafana.ini:/etc/grafana/grafana.ini - /srv/docker/volume/grafana/grafana.ini:/etc/grafana/grafana.ini
restart: always restart: always
mem_limit: 128M mem_limit: 128M
loki: loki:
@ -139,18 +156,39 @@ services:
env_file: env/miniflux env_file: env/miniflux
restart: always restart: always
mem_limit: 128M mem_limit: 128M
php80: php:
image: php-alpine image: php-alpine
extra_hosts: extra_hosts:
- "mail.verry.org:192.168.3.5" - "mail.verry.org:192.168.42.3"
dns: 192.168.3.2
volumes: volumes:
- /srv/www:/srv/www - /srv/www:/srv/www
restart: always restart: always
dns: 192.168.3.2 authentik-server:
image: ghcr.io/goauthentik/server:latest
restart: unless-stopped
command: server
volumes:
- /srv/docker/volume/authentik/media:/media
- /srv/docker/volume/authentik/custom-templates:/templates
env_file:
- env/authentik
authentik-worker:
image: ghcr.io/goauthentik/server:latest
restart: unless-stopped
command: worker
volumes:
- /srv/docker/volume/authentik/certs:/certs
- /srv/docker/volume/authentik/media:/media
- /srv/docker/volume/authentik/custom-templates:/templates
restart: unless-stopped
env_file:
- env/authentik
pgbouncer: pgbouncer:
image: pgbouncer-alpine image: pgbouncer-alpine
volumes: volumes:
- /srv/docker/volume/pgbouncer:/etc/pgbouncer:ro - /srv/docker/volume/pgbouncer:/etc/pgbouncer:ro
dns: 192.168.3.2
restart: always restart: always
mem_limit: 128M mem_limit: 128M
vmalert: vmalert:
@ -170,7 +208,7 @@ services:
- "ns2.vpn6:fd00::42:2" - "ns2.vpn6:fd00::42:2"
- "ns3.vpn6:fd00::42:3" - "ns3.vpn6:fd00::42:3"
- "backup-01.dinoutoo.vpn6:fd00::42:9" - "backup-01.dinoutoo.vpn6:fd00::42:9"
- "unbound-exporter:fd00::3:2" - "unbound-exporter:192.168.3.2"
- "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"
@ -185,10 +223,15 @@ services:
image: prom/alertmanager image: prom/alertmanager
volumes: volumes:
- /srv/docker/volume/prometheus/config/alertmanager.yml:/etc/alertmanager/alertmanager.yml:ro - /srv/docker/volume/prometheus/config/alertmanager.yml:/etc/alertmanager/alertmanager.yml:ro
- /srv/docker/volume/alertmanager/data:/alertmanager:rw
extra_hosts: extra_hosts:
- "mail.verry.org:192.168.3.5" - "mail.verry.org:192.168.3.5"
restart: always restart: always
mem_limit: 128M mem_limit: 128M
command:
- "--config.file=/etc/alertmanager/alertmanager.yml"
- "--storage.path=/alertmanager"
- "--web.external-url=https://alertmanager.verry.org/"
prometheus-blackbox: prometheus-blackbox:
image: prom/blackbox-exporter image: prom/blackbox-exporter
volumes: volumes:
@ -215,9 +258,10 @@ services:
restart: always restart: always
mem_limit: 128M mem_limit: 128M
prometheus-hue: prometheus-hue:
image: mitchellrj/hue_exporter:latest image: alpine
volumes: volumes:
- /srv/docker/volume/hue_exporter/home.yml:/etc/hue_exporter/config.yml:ro - /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 restart: always
mem_limit: 128M mem_limit: 128M
promtail: promtail:
@ -310,18 +354,41 @@ services:
- /srv/docker/volume/dendrite/dendrite.yaml:/etc/dendrite/dendrite.yaml:ro - /srv/docker/volume/dendrite/dendrite.yaml:/etc/dendrite/dendrite.yaml:ro
- /srv/docker/volume/dendrite/cert:/cert:ro - /srv/docker/volume/dendrite/cert:/cert:ro
- /srv/docker/volume/dendrite/media:/var/dendrite/media - /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 restart: always
mem_limit: 1G mem_limit: 1G
cpus: 0.5 cpus: 0.5
coraza-spoa: matrix-alertmanager:
image: alpine image: jaywink/matrix-alertmanager:latest
env_file: env/matrix-alertmanager
restart: always
mem_limit: 1G
cpus: 0.5
uptime-kuma:
image: louislam/uptime-kuma
volumes: volumes:
- /srv/docker/volume/coraza-spoa/bin/coraza-spoa_amd64:/coraza-spoa:ro - /srv/docker/volume/uptime-kuma/data:/app/data:rw
- /srv/docker/volume/coraza-spoa/config:/etc/coraza-spoa:ro
command: /coraza-spoa -config-file /etc/coraza-spoa/config.yml
restart: always restart: always
mem_limit: 1G mem_limit: 1G
cpus: 0.5 cpus: 0.5
vikunja-api:
image: vikunja/api:latest
env_file: env/vikunja-api
volumes:
- /srv/docker/volume/vikunja/api/files:/app/vikunja/files:rw
restart: always
mem_limit: 1G
cpus: 0.5
vikunja-frontend:
image: vikunja/frontend
env_file: env/vikunja-frontend
restart: always
mem_limit: 512M
cpus: 0.5
networks:
default:
ipv4_address: 172.20.0.42
geoipupdate: geoipupdate:
image: "maxmindinc/geoipupdate:latest" image: "maxmindinc/geoipupdate:latest"
volumes: volumes:

View file

@ -6,3 +6,6 @@ cd "$(dirname "$0")"
docker-compose pull --ignore-pull-failures docker-compose pull --ignore-pull-failures
# reload if needed # reload if needed
docker-compose up -d docker-compose up -d
# upgrade miniflux
#./upgrade_miniflux.sh