services:
  vaultwarden:
    image: vaultwarden/server:1.31.0
    container_name: vaultwarden
    restart: unless-stopped 
    env_file:
      - .env
    volumes:
      - ./bw-data:/data
    networks:
      - nginx_proxy

networks:
  nginx_proxy:
    external: true