35 lines
848 B
YAML
35 lines
848 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: null
|
|
SMTP_HOST: bridge
|
|
SMTP_FROM: null
|
|
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
|