Update comfigs for best practices

This commit is contained in:
2026-04-08 16:06:17 -07:00
parent f7d08333f1
commit 33df798c30
18 changed files with 411 additions and 115 deletions

View File

@@ -1,6 +1,6 @@
services:
vaultwarden:
image: vaultwarden/server:latest
image: vaultwarden/server:1.35.4
container_name: vaultwarden
environment:
- PUID=1000
@@ -10,11 +10,20 @@ services:
restart: unless-stopped
volumes:
- /mnt/storage/apps/vaultwarden/data/:/data/
ports:
- 4444:80
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80/alive"]
interval: 30s
timeout: 10s
retries: 3
start_period: 20s
deploy:
resources:
limits:
memory: 256M
cpus: '0.25'
networks:
- network
networks:
network:
name: proxy
external: true
network:
name: proxy
external: true