Skip to content

daemonless/vaultwarden

Repository files navigation

Vaultwarden

Vaultwarden (Bitwarden compatible backend) on FreeBSD.

Port 8080
Registry ghcr.io/daemonless/vaultwarden
Docs daemonless.io/images/vaultwarden
Source https://github.com/dani-garcia/vaultwarden
Website https://github.com/dani-garcia/vaultwarden

Deployment

Podman Compose

services:
  vaultwarden:
    image: ghcr.io/daemonless/vaultwarden:latest
    container_name: vaultwarden
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=UTC
      - SIGNUPS_ALLOWED=true
    volumes:
      - /path/to/containers/vaultwarden:/config
    ports:
      - 8080:8080
    restart: unless-stopped

Podman CLI

podman run -d --name vaultwarden \
  -p 8080:8080 \
  -e PUID=@PUID@ \
  -e PGID=@PGID@ \
  -e TZ=@TZ@ \
  -e SIGNUPS_ALLOWED=true \
  -v /path/to/containers/vaultwarden:/config \
  ghcr.io/daemonless/vaultwarden:latest

Access at: http://localhost:8080

Ansible

- name: Deploy vaultwarden
  containers.podman.podman_container:
    name: vaultwarden
    image: ghcr.io/daemonless/vaultwarden:latest
    state: started
    restart_policy: always
    env:
      PUID: "@PUID@"
      PGID: "@PGID@"
      TZ: "@TZ@"
      SIGNUPS_ALLOWED: "true"
    ports:
      - "8080:8080"
    volumes:
      - "/path/to/containers/vaultwarden:/config"

Configuration

Environment Variables

Variable Default Description
PUID 1000 User ID for the application process
PGID 1000 Group ID for the application process
TZ UTC Timezone for the container
SIGNUPS_ALLOWED true Enable/disable user registration (true/false)

Volumes

Path Description
/config Data directory (database, attachments, icons)

Ports

Port Protocol Description
8080 TCP

Notes

  • Architectures: amd64
  • User: bsd (UID/GID set via PUID/PGID)
  • Base: Built on ghcr.io/daemonless/base (FreeBSD)

Packages

 
 
 

Contributors