-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbitwarden.yml
More file actions
33 lines (32 loc) · 1.06 KB
/
Copy pathbitwarden.yml
File metadata and controls
33 lines (32 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
version: "3"
services:
bitwarden:
image: mprasil/bitwarden
environment:
- DOMAIN=https://bitwarden.$DOMAIN:443 #Définition du domaine requise pour U2F
- SIGNUPS_ALLOWED=false #Desactive la possibilité de s'inscrire
- INVITATIONS_ALLOWED=true #Autorise la possibilité d'inviter qqun
- ADMIN_TOKEN=$ADMIN_TOKEN #Active la page d'administration
- WEBSOCKET_ENABLED=true #Active les websocket
- SMTP_HOST=$SMTPHOST
- SMTP_FROM=$SMTPFROM
- SMTP_PORT=$SMTPPORT
- SMTP_SSL=true
- SHOW_PASSWORD_HINT=true
volumes:
- /etc/localtime:/etc/localtime:ro
- $MYDIR/bitwarden:/data/:rw
deploy:
labels:
- traefik.enable=true
- traefik.web.frontend.rule=Host:bitwarden.$DOMAIN
- traefik.web.port=80
- traefik.hub.frontend.rule=Host:bitwarden.$DOMAIN;Path:/notifications/hub
- traefik.hub.port=3012
- traefik.hub.protocol=ws
- traefik.docker.network=traefik_public
networks:
- traefik_public
networks:
traefik_public:
external: true