2024-06-29 02:30:19 +02:00
|
|
|
services:
|
|
|
|
vaultwarden:
|
|
|
|
image: vaultwarden/server:latest
|
|
|
|
container_name: vaultwarden
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
DOMAIN: ${DOMAIN}
|
2024-06-29 03:25:09 +02:00
|
|
|
DATABASE_URL: mysql://vaultwardenuser:${MARIADB_PASSWORD}@localhost:3306/vaultwarden
|
2024-06-29 02:30:19 +02:00
|
|
|
ADMIN_TOKEN: ${VAULTWARDEN_ADMIN_TOKEN}
|
|
|
|
SIGNUPS_DOMAINS_WHITELIST: uni-bremen.de
|
|
|
|
SIGNUPS_ALLOWED: false
|
2024-07-16 00:56:56 +02:00
|
|
|
SMTP_HOST: "smtp.uni-bremen.de"
|
2024-06-29 13:50:50 +02:00
|
|
|
SMTP_SECURITY: "force_tls"
|
|
|
|
SMTP_PORT: 465
|
|
|
|
SMTP_FROM: "vaultwarden@neuro.uni-bremen.de"
|
|
|
|
SMTP_FROM_NAME: "Vaultwarden @ University of Bremen"
|
|
|
|
SMTP_USERNAME: ${EMAIL_USERNAME}
|
|
|
|
SMTP_PASSWORD: ${EMAIL_PASSWORD}
|
|
|
|
SMTP_AUTH_MECHANISM: "Plain"
|
|
|
|
SMTP_TIMEOUT: 15
|
|
|
|
SMTP_ACCEPT_INVALID_CERTS: true
|
|
|
|
SMTP_ACCEPT_INVALID_HOSTNAMES: false
|
|
|
|
SMTP_DEBUG: false
|
|
|
|
SIGNUPS_VERIFY: true
|
|
|
|
INVITATIONS_ALLOWED: false
|
|
|
|
EMAIL_CHANGE_ALLOWED: false
|
2024-06-29 02:30:19 +02:00
|
|
|
volumes:
|
|
|
|
- "vaultwarden_vol:/data"
|
2024-06-29 13:50:50 +02:00
|
|
|
- "/mariadb_socket:/run/mysqld"
|
2024-07-26 17:45:55 +02:00
|
|
|
expose:
|
|
|
|
- 80
|
|
|
|
networks:
|
|
|
|
- vaultwarden-network
|
2024-07-16 00:56:56 +02:00
|
|
|
|
2024-06-29 02:30:19 +02:00
|
|
|
volumes:
|
|
|
|
vaultwarden_vol:
|
2024-07-26 17:45:55 +02:00
|
|
|
|
|
|
|
networks:
|
|
|
|
vaultwarden-network:
|
|
|
|
external: true
|
|
|
|
|