This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
version: '3'
services:
rancher:
restart: unless-stopped
image: vaultwarden/server:latest
container_name: vaultwarden
volumes:
- ./bw-data/:/data/
environment:
- TZ=Asia/Shanghai
# 当第一个账户注册成功后,SIGNUPS_ALLOWED需要改成false,从而禁用新账户注册
- SIGNUPS_ALLOWED=true
- WEBSOCKET_ENABLED=true
- LOG_FILE=/data/vaultwarden.log
ports:
- 8880:80
- 3012:3012