version: "3.8"
services:
  vaultwarden:
    image: vaultwarden/server:1.34.1
    container_name: ${CONTAINER_NAME}
    restart: always
    environment:
      DOMAIN: ${PANEL_VW_DOMAIN}
      ADMIN_TOKEN: ${PANEL_VW_ADMIN_TOKEN}
    volumes:
      - ./data:/data
    ports:
      - "${PANEL_APP_PORT_HTTP}:80"
      - "${PANEL_APP_PORT_HTTPS}:443"
    volumes:
      - "${DATA_PATH}:/config"
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Asia/Shanghai
    image: linuxserver/heimdall:2.7.6
    labels:  
      createdBy: "Apps"
    networks:
      - 1panel-network

networks:  
  1panel-network:  
    external: true
