version: '3.7' services: vaultwarden: image: vaultwarden/server:1.28.0 container_name: vaultwarden restart: unless-stopped ports: - ${APP_PORT}:80 environment: - WEBSOCKET_ENABLED=true - ADMIN_TOKEN=${VAULTWARDEN_ADMIN_PASSWORD} volumes: - ${APP_DATA_DIR}/data:/data networks: - tipi_main_network labels: traefik.enable: ${APP_EXPOSED} traefik.http.routers.vaultwarden.rule: Host(`${APP_DOMAIN}`) traefik.http.routers.vaultwarden.entrypoints: websecure traefik.http.routers.vaultwarden.service: vaultwarden traefik.http.routers.vaultwarden.tls.certresolver: myresolver traefik.http.services.vaultwarden.loadbalancer.server.port: 80