36 lines
881 B
YAML
36 lines
881 B
YAML
|
services:
|
||
|
vaultwarden:
|
||
|
image: vaultwarden/server
|
||
|
restart: unless-stopped
|
||
|
extends:
|
||
|
file: docker-compose.secrets.yml
|
||
|
service: vaultwarden
|
||
|
volumes:
|
||
|
- ./data:/data
|
||
|
- /etc/localtime:/etc/localtime:ro
|
||
|
environment:
|
||
|
DOMAIN: https://passwords.nuth.ch
|
||
|
SMTP_HOST: bridge
|
||
|
SMTP_FROM: no-reply@nuth.ch
|
||
|
SMTP_FROM_VALUE: vaultwarden
|
||
|
SMTP_PORT: 25
|
||
|
SMTP_ACCEPT_INVALID_CERTS: "true"
|
||
|
SIGNUPS_ALLOWED: "false"
|
||
|
SIGNUPS_VERIFY: "true"
|
||
|
db:
|
||
|
image: mariadb
|
||
|
restart: unless-stopped
|
||
|
extends:
|
||
|
file: docker-compose.secrets.yml
|
||
|
service: db
|
||
|
volumes:
|
||
|
- ./db:/var/lib/mysql
|
||
|
- /etc/localtime:/etc/localtime:ro
|
||
|
environment:
|
||
|
MARIADB_RANDOM_ROOT_PASSWORD: "yes"
|
||
|
bridge:
|
||
|
image: shenxn/protonmail-bridge
|
||
|
restart: unless-stopped
|
||
|
volumes:
|
||
|
- ./bridge:/root
|