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

View file

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