From a406e72ab24a2c8663965e084da6e13ec57d66fe Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 10 Jul 2023 13:41:56 +0100 Subject: [PATCH] Update Vaultwarden to 1.29.0 --- .../roles/vaultwarden/files/docker-compose.yml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/ansible/roles/vaultwarden/files/docker-compose.yml b/ansible/roles/vaultwarden/files/docker-compose.yml index 2675b5f..750d8f3 100644 --- a/ansible/roles/vaultwarden/files/docker-compose.yml +++ b/ansible/roles/vaultwarden/files/docker-compose.yml @@ -2,7 +2,7 @@ version: "2.3" services: vaultwarden: - image: vaultwarden/server:1.28.1-alpine + image: vaultwarden/server:1.29.0-alpine restart: unless-stopped user: "{{ docker_user.id }}:{{ docker_user.id }}" volumes: @@ -12,20 +12,14 @@ services: labels: - traefik.enable=true - - traefik.http.routers.vaultwarden-ui.rule=Host(`vaultwarden.jakehoward.tech`) - - traefik.http.routers.vaultwarden-ui.service=vaultwarden-ui - - traefik.http.services.vaultwarden-ui.loadbalancer.server.port=80 - - - traefik.http.routers.vaultwarden-websocket.rule=Host(`vaultwarden.jakehoward.tech`) && Path(`/notifications/hub`) - - traefik.http.routers.vaultwarden-websocket.service=vaultwarden-websocket - - traefik.http.services.vaultwarden-websocket.loadbalancer.server.port=3012 + - traefik.http.routers.vaultwarden.rule=Host(`vaultwarden.jakehoward.tech`) + - traefik.http.routers.vaultwarden.service=vaultwarden + - traefik.http.services.vaultwarden.loadbalancer.server.port=80 - traefik.http.middlewares.vaultwarden-ratelimit.ratelimit.average=5 - traefik.http.middlewares.vaultwarden-ratelimit.ratelimit.burst=1000 - - traefik.http.middlewares.vaultwarden-compress.compress=true - - traefik.http.routers.vaultwarden-ui.middlewares=vaultwarden-ratelimit,vaultwarden-compress - - traefik.http.routers.vaultwarden-websocket.middlewares=vaultwarden-ratelimit,vaultwarden-compress + - traefik.http.routers.vaultwarden.middlewares=vaultwarden-ratelimit environment: - SIGNUPS_ALLOWED=false - DOMAIN=https://vaultwarden.jakehoward.tech @@ -33,7 +27,6 @@ services: - DATABASE_URL=postgres://vaultwarden:{{ vaultwarden_database_password }}@db/vaultwarden - INVITATIONS_ALLOWED=false - ROCKET_WORKERS={{ ansible_processor_nproc // 2 }} - - WEBSOCKET_ENABLED=true networks: - default - traefik