This commit is contained in:
Yann Verry 2023-03-22 22:53:30 +01:00
parent d9e2b171e1
commit abf4eb0876
2 changed files with 54 additions and 9 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"
@ -327,6 +365,13 @@ services:
restart: always restart: always
mem_limit: 1G mem_limit: 1G
cpus: 0.5 cpus: 0.5
uptime-kuma:
image: louislam/uptime-kuma
volumes:
- /srv/docker/volume/uptime-kuma/data:/app/data:rw
restart: always
mem_limit: 1G
cpus: 0.5
vikunja-api: vikunja-api:
image: vikunja/api:latest image: vikunja/api:latest
env_file: env/vikunja-api env_file: env/vikunja-api
@ -339,7 +384,7 @@ services:
image: vikunja/frontend image: vikunja/frontend
env_file: env/vikunja-frontend env_file: env/vikunja-frontend
restart: always restart: always
mem_limit: 1G mem_limit: 512M
cpus: 0.5 cpus: 0.5
networks: networks:
default: default:

View file

@ -8,4 +8,4 @@ docker-compose pull --ignore-pull-failures
docker-compose up -d docker-compose up -d
# upgrade miniflux # upgrade miniflux
./upgrade_miniflux.sh #./upgrade_miniflux.sh