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: volumes:
ssl: ssl:
external: true external: true
@ -54,16 +52,12 @@ services:
- /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 - haproxy-socket:/var/lib/haproxy:rw
ports:
- 443:443
- 443:443/udp
- 80:80
restart: always restart: always
mem_limit: 512M mem_limit: 512M
dns: fd00::3:2 dns: fd00::3:2
networks: networks:
default: default:
ipv6_address: 2a01:e0a:5b7:35f1::443 ipv6_address: 2a01:e0a:5b7:35f1::445
vault: vault:
image: hashicorp/vault image: hashicorp/vault
volumes: volumes:
@ -75,15 +69,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 +262,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
@ -336,20 +337,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