services: bitwarden: image: ghcr.io/bitwarden/self-host:beta container_name: bitwarden restart: always ports: - "8080:8080" - "8443:8443" dns: - 8.8.8.8 - 8.8.4.4 volumes: - /volume1/docker/bitwarden/bwdata:/etc/bitwarden environment: # Installation details - BW_INSTALLATION_ID=*тут ваш id* - BW_INSTALLATION_KEY=*тут ваш ключ* - BW_DOMAIN=172.16.11.55:8443 # Database - BW_DB_PROVIDER=sqlite - BW_DB_FILE=/etc/bitwarden/vault.db # SSL - BW_ENABLE_SSL=true - BW_ENABLE_EMAIL_VERIFICATION=false # Features - BW_ENABLE_ADMIN=true - BW_ENABLE_API=true - BW_ENABLE_EVENTS=false - BW_ENABLE_ICONS=true - BW_ENABLE_IDENTITY=true - BW_ENABLE_NOTIFICATIONS=true - BW_ENABLE_SCIM=false - BW_ENABLE_SSO=false # Mail settings - globalSettings__mail__replyToEmail=vaultwarden@gxcloud.ru - globalSettings__mail__smtp__host=mail.hosting.reg.ru - globalSettings__mail__smtp__port=465 - globalSettings__mail__smtp__ssl=true - globalSettings__mail__smtp__username=vaultwarden@gxcloud.ru - globalSettings__mail__smtp__password=*тутпароль" # Admin settings - adminSettings__admins=galandrix@gmail.com # Other settings - globalSettings__enablePasskeys=false - globalSettings__sso__enabled=false - globalSettings__selfHosted=true - globalSettings__unifiedDeployment=true - globalSettings__pushRelayBaseUri=https://push.bitwarden.com # Internal service URIs - globalSettings__baseServiceUri__internalAdmin=http://localhost:5000 - globalSettings__baseServiceUri__internalApi=http://localhost:5001 - globalSettings__baseServiceUri__internalEvents=http://localhost:5003 - globalSettings__baseServiceUri__internalIcons=http://localhost:5004 - globalSettings__baseServiceUri__internalIdentity=http://localhost:5005 - globalSettings__baseServiceUri__internalNotifications=http://localhost:5006 - globalSettings__baseServiceUri__internalSso=http://localhost:5007 - globalSettings__baseServiceUri__internalScim=http://localhost:5002 - globalSettings__baseServiceUri__internalVault=http://localhost:8080 # Certificate and data protection - globalSettings__identityServer__certificatePassword=default_cert_password - globalSettings__dataProtection__directory=/etc/bitwarden/data-protection - globalSettings__attachment__baseDirectory=/etc/bitwarden/attachments - globalSettings__send__baseDirectory=/etc/bitwarden/attachments/send - globalSettings__licenseDirectory=/etc/bitwarden/licenses - globalSettings__logDirectoryByProject=false - globalSettings__logRollBySizeLimit=1073741824 networks: default: name: bitwarden_default