-
This commit is contained in:
29
vaultwarden/docker-compose.yml
Normal file
29
vaultwarden/docker-compose.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
version: "3"
|
||||
services:
|
||||
vaultwarden:
|
||||
image: vaultwarden/server:latest
|
||||
container_name: vaultwarden
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 9445:80 #map any custom port to use (replace 9445 not 80)
|
||||
volumes:
|
||||
- ./bitwarden:/data:rw
|
||||
environment:
|
||||
# - ROCKET_TLS={certs="/ssl/certs/certs.pem",key="/ssl/private/key.pem"} // Environment variable is specific to the Rocket web server
|
||||
- ADMIN_TOKEN=${ADMIN_TOKEN}
|
||||
- WEBSOCKET_ENABLED=true
|
||||
- SIGNUPS_ALLOWED=false
|
||||
- SMTP_HOST=${SMTP_HOST}
|
||||
- SMTP_FROM=${SMTP_FROM}
|
||||
- SMTP_PORT=${SMTP_PORT}
|
||||
- SMTP_SECURITY=${SMTP_SECURITY}
|
||||
- SMTP_TIMEOUT=${SMTP_TIMEOUT}
|
||||
- SMTP_USERNAME=${SMTP_USERNAME}
|
||||
- SMTP_PASSWORD=${SMTP_PASSWORD}
|
||||
- DOMAIN=${DOMAIN}
|
||||
|
||||
#uncomment below network part if you are using Nginx Proxy Manager, or you can remove the same
|
||||
#networks:
|
||||
# default:
|
||||
# external:
|
||||
# name: nginx-proxy-network
|
||||
Reference in New Issue
Block a user