From 0e238c80bc57e9bfa911126fc6b3c7bc029579d1 Mon Sep 17 00:00:00 2001 From: titanz Date: Thu, 6 Feb 2025 18:45:03 +0100 Subject: [PATCH] update vaultwarden uid and gid and removed yubikey variables since i switched to trezor --- vaultwarden/compose.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/vaultwarden/compose.yml b/vaultwarden/compose.yml index e0d35c8..6d181ef 100644 --- a/vaultwarden/compose.yml +++ b/vaultwarden/compose.yml @@ -1,7 +1,7 @@ services: vaultwarden: container_name: vaultwarden - image: ghcr.io/polarix-containers/vaultwarden:latest + image: git.conorz.at/titanz-containers/vaultwarden:latest restart: always volumes: - /home/titanz/vaultwarden:/data:Z @@ -19,9 +19,7 @@ services: - DOMAIN=${DOMAIN} - ROCKET_PORT=8080 - DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_USER} - - YUBICO_CLIENT_ID=82851 - - YUBICO_SECRET_KEY=mLPiA1hxQGOan61RXAtL63xLrLE= - user: "3001:3001" + user: "200003:200003" read_only: true security_opt: - "no-new-privileges=true" @@ -30,7 +28,7 @@ services: postgres: container_name: vaultwarden-postgres - image: ghcr.io/polarix-containers/postgres:17 + image: git.conorz.at/titanz-containers/postgres:17 restart: always volumes: - ./postgres:/var/lib/postgresql/data:Z @@ -41,9 +39,9 @@ services: test: ["CMD", "pg_isready", "-U", "vaultwarden"] interval: 15s timeout: 5s - user: "70:70" + user: "200012:200012" read_only: true tmpfs: - - /var/run/postgresql:size=50M,mode=0770,uid=70,gid=70,noexec,nosuid,nodev + - /var/run/postgresql:size=50M,mode=0770,uid=200012,gid=200012,noexec,nosuid,nodev security_opt: - "no-new-privileges=true"