Skip to content

Instantly share code, notes, and snippets.

@nonkronk
Last active April 2, 2023 20:47
Show Gist options
  • Save nonkronk/d503fc6699221df7e5f0f0a82415bd8f to your computer and use it in GitHub Desktop.
Save nonkronk/d503fc6699221df7e5f0f0a82415bd8f to your computer and use it in GitHub Desktop.
Deploy Vaultwarden with custom logo/icon

Deploy Vaultwarden with custom logo

Docker-compose:

version: "3.8"
services:
  vaultwarden:
    image: vaultwarden/server:latest
    container_name: vaultwarden
    restart: unless-stopped
    ports:
      - '${VAULT_PORT}:80'
    volumes:
      - ${DOCKER_DIR}/vaultwarden:/data
      - ${DOCKER_DIR}/vaultwarden/images/[email protected]:/web-vault/images/[email protected]:ro  
      - ${DOCKER_DIR}/vaultwarden/images/[email protected]:/web-vault/images/[email protected]:ro
      - ${DOCKER_DIR}/vaultwarden/images/apple-touch-icon.png:/web-vault/images/apple-touch-icon.png:ro  
      - ${DOCKER_DIR}/vaultwarden/images/favicon-16x16.png:/web-vault/images/favicon-16x16.png:ro
      - ${DOCKER_DIR}/vaultwarden/images/favicon-32x32.png:/web-vault/images/favicon-32x32.png:ro
      - ${DOCKER_DIR}/vaultwarden/images/icon-white.png:/web-vault/images/icon-white.png:ro
      - ${DOCKER_DIR}/vaultwarden/images/safari-pinned-tab.svg:/web-vault/images/safari-pinned-tab.svg:ro
      - ${DOCKER_DIR}/vaultwarden/images/icons:/web-vault/images/icons:ro
      - ${DOCKER_DIR}/vaultwarden/images/register-layout:/web-vault/images/register-layout:ro
    networks:
      - app-network
    environment:
      - PUID=$PUID
      - PGID=$PGID
      - TZ=$TZ
networks:
  app-network:
    name: app-network
    external: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment