june updates, caddy power

This commit is contained in:
Yann Verry 2024-06-07 11:52:02 +02:00
parent 223d08086f
commit 7a67515e78
2 changed files with 17 additions and 25 deletions

View file

@ -1,5 +1,3 @@
version: "3.9"
volumes:
ssl:
external: true
@ -54,16 +52,12 @@ services:
- /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
ipv6_address: 2a01:e0a:5b7:35f1::445
vault:
image: hashicorp/vault
volumes:
@ -75,15 +69,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 +262,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
@ -336,20 +337,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