Compare commits

..

2 commits

Author SHA1 Message Date
Yann Verry c6314c516d cpu to 1, clean legacy 2024-06-07 11:54:53 +02:00
Yann Verry 7a67515e78 june updates, caddy power 2024-06-07 11:52:02 +02:00
2 changed files with 19 additions and 44 deletions

View file

@ -1,14 +1,8 @@
version: "3.9"
volumes:
ssl:
external: true
victoria-metrics:
external: true
haproxy-socket:
external: true
postgres-13:
external: true
postgres-15:
external: true
@ -47,23 +41,6 @@ services:
default:
ipv6_address: 2a01:e0a:5b7:35f1::5432
restart: always
haproxy:
image: haproxytech/haproxy-alpine-quic:2.8
volumes:
- ssl:/ssl:rw
- /etc/haproxy:/usr/local/etc/haproxy:ro
- /etc/haproxy:/etc/haproxy:ro
- haproxy-socket:/var/lib/haproxy:rw
ports:
- 443:443
- 443:443/udp
- 80:80
restart: always
mem_limit: 512M
dns: fd00::3:2
networks:
default:
ipv6_address: 2a01:e0a:5b7:35f1::443
vault:
image: hashicorp/vault
volumes:
@ -75,15 +52,22 @@ services:
- IPC_LOCK
command: vault server -config /vault/config
caddy:
image: caddy:alpine
image: caddy-alpine
volumes:
- ssl:/etc/dehydrated: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: 128M
dns: 192.168.3.2
command: caddy run --config /etc/caddy/Caddyfile --adapter caddyfile
networks:
default:
ipv6_address: 2a01:e0a:5b7:35f1::443
redis:
image: redis:alpine
restart: always
@ -261,7 +245,7 @@ services:
default:
ipv6_address: 2a01:e0a:5b7:35f1::853
gitea:
image: gitea/gitea:dev
image: codeberg.org/forgejo/forgejo:7
volumes:
- /srv/docker/volume/gitea/data:/data
restart: always
@ -311,7 +295,7 @@ services:
restart: always
command: /bin/syncv3
mem_limit: 1G
cpus: 0.5
cpus: 1
dendrite:
image: matrixdotorg/dendrite-monolith:latest
volumes:
@ -322,13 +306,13 @@ services:
- /srv/docker/volume/dendrite/jetstream:/var/dendrite/jetstream
restart: always
mem_limit: 1G
cpus: 0.5
cpus: 1
matrix-alertmanager:
image: jaywink/matrix-alertmanager:latest
env_file: env/matrix-alertmanager
restart: always
mem_limit: 1G
cpus: 0.5
cpus: 1
uptime-kuma:
image: louislam/uptime-kuma
volumes:
@ -336,20 +320,11 @@ services:
restart: always
mem_limit: 2G
cpus: 1
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
openspeedtest:
environment:
- ENABLE_LETSENCRYPT=False
- DOMAIN_NAME=speedtest.verry.org
image: "openspeedtest/latest"
geoipupdate:
image: "maxmindinc/geoipupdate:latest"
volumes:

View file

@ -3,5 +3,5 @@
cd "$(dirname "$0")"
docker-compose pull --ignore-pull-failures
#docker-compose pull --ignore-pull-failures
docker-compose up -d