# Installation

The service can be installed through the Portainer web interface.

<p class="callout info">Learn about [creating a new stack](https://hub.subspace.services/books/portainer/page/creating-a-new-stack "Creating a New Stack").</p>

## Docker Compose

Use the following code to install the service:

```yaml
---
services:
  vaultwarden:
    image: vaultwarden/server:latest
    container_name: vaultwarden
    network_mode: bridge
    environment:
      - TZ=America/Vancouver
      - SIGNUPS_ALLOWED=true
    ports:
      - 2546:80
    volumes:
      - /srv/vaultwarden:/data
    restart: unless-stopped
```