Hello, I am attempting to migrate from LP to VW and am having issues getting the VW docker container to successfully start and stay running. below is my docker config code. I have compared this to my other docker/traefik containers and I dont see anything standing out as being an issue.
LOG:
/--------------------------------------------------------------------\
| Starting Vaultwarden |
| Version 1.27.0 |
|--------------------------------------------------------------------|
| This is an *unofficial* Bitwarden implementation, DO NOT use the |
| official channels to report bugs/features, regardless of client. |
| Send usage/configuration questions or feature requests to: |
| https://vaultwarden.discourse.group/ |
| Report suspected bugs/issues in the software itself at: |
| https://github.com/dani-garcia/vaultwarden/issues/new |
\--------------------------------------------------------------------/
FO] No .env file found.
Docker Compose Lines:
# Password Manager
vaultwarden:
container_name: Vaultwarden
image: vaultwarden/server:latest
restart: always
volumes:
- $USERDIR/vaultwarden/Data:/data
- $USERDIR/vaultwarden/SSL:/ssl
- $USERDIR/vaultwarden/Logs:/logs
- /etc/localtime:/etc/localtime:ro
networks:
- traefik
ports:
- "$VAULTWARDEN_PORT:8443"
- "$VAULTWARDEN_WEBSOCKET_PORT:3012"
user: $PUID:$PGID
environment:
- LOG_FILE=/logs/vaultwarden.log
- LOG_LEVEL=trace
- ADMIN_TOKEN=$VAULTWARDEN_ADMIN_TOKEN
# - WEBSOCKET_ENABLED=true
- ORG_EVENTS_ENABLED=true
- EVENTS_DAYS_RETAIN=120
- PASSWORD_ITERATIONS=500000
- DOMAIN=https://vaultw.$DOMAINNAME:8444
# logging:
# driver: "local"
# options:
# max-size: 10m
# max-file: "3"
labels:
# - autoheal=true
- "traefik.enable=true"
## HTTP Routers
- "traefik.http.routers.vaultwarden-rtr.entrypoints=https"
- "traefik.http.routers.vaultwarden-websocket.entrypoints=https"
- "traefik.http.routers.vaultwarden-admin.entrypoints=https"
- "traefik.http.routers.vaultwarden-rtr.rule=HostHeader(`vaultw.$DOMAINNAME`)"
- "traefik.http.routers.vaultwarden-websocket.rule=HostHeader(`vaultw.$DOMAINNAME`) && Path(`/notifications/hub`)"
- "traefik.http.routers.vaultwarden-admin.rule=HostHeader(`vaultw.$DOMAINNAME`) && Path(`/admin`)"
# - "traefik.http.routers.vaultwarden-rtr.tls=true"
# - "traefik.http.routers.vaultwarden-admin.tls=true"
# - "traefik.http.routers.vaultwarden-websocket.tls=true"
## Middlewares
# - "traefik.http.routers.vaultwarden-rtr.middlewares=chain-oauth@file"
# - "traefik.http.routers.vaultwarden-rtr.middlewares=chain-authelia@file"
# - "traefik.http.routers.vaultwarden-admin.middlewares=chain-authelia@file" # Authelia for Admin
# - "traefik.http.routers.vaultwarden-rtr.middlewares=chain-no-auth@file" #No auth for dashboard
# - "traefik.http.routers.vaultwarden-websocket.middlewares=chain-no-auth@file" #No auth for websocket
- "traefik.http.routers.vaultwarden-admin.middlewares=chain-authelia@file" # Authelia for Admin
- "traefik.http.routers.vaultwarden-rtr.middlewares=chain-no-auth@file" #No auth for dashboard
- "traefik.http.routers.vaultwarden-websocket.middlewares=chain-no-auth@file" #No auth for websocket
## HTTP Services
- "traefik.http.routers.vaultwarden-rtr.service=vaultwarden-svc"
- "traefik.http.routers.vaultwarden-websocket.service=vaultwarden-websocket-svc"
- "traefik.http.routers.vaultwarden-admin.service=vaultwarden-admin-svc"
- "traefik.http.services.vaultwarden-svc.loadbalancer.server.port=8089"
- "traefik.http.services.vaultwarden-admin-svc.loadbalancer.server.port=8089"
- "traefik.http.services.vaultwarden-websocket-svc.loadbalancer.server.port=3012"
# depends_on:
# - traefik
Any help is appreciated!