services: vaultwarden: image: vaultwarden/server:latest container_name: vaultwarden restart: unless-stopped environment: - DOMAIN=https://vault.hobbs.farm - SIGNUPS_ALLOWED=false volumes: - /mnt/docker-data/configs/vaultwarden:/data ports: - "26226:80" mem_limit: 256M memswap_limit: 256M healthcheck: test: ["CMD-SHELL", "curl -f http://localhost:80/alive || exit 1"] interval: 30s timeout: 10s retries: 3 start_period: 30s logging: driver: "json-file" options: max-size: "50m" max-file: "3"