infra/compose/vault.yml

22 lines
546 B
YAML
Raw Normal View History

2024-11-18 18:07:07 -06:00
# Generate token with this:
# openssl rand -base64 48
2024-11-18 17:34:30 -06:00
services:
2024-11-18 18:07:07 -06:00
server:
2024-11-18 17:34:30 -06:00
image: vaultwarden/server:latest
restart: unless-stopped
ports:
- '9445:80'
environment:
ADMIN_TOKEN: ${ADMIN_TOKEN}
WEBSOCKET_ENABLED: true
SIGNUPS_ALLOWED: false
SMTP_HOST: ${SMTP_HOST}
SMTP_FROM: ${SMTP_FROM}
SMTP_PORT: ${SMTP_PORT}
2024-11-23 06:26:19 +00:00
SMTP_SECURITY: ${SMTP_SECURITY}
2024-11-18 17:34:30 -06:00
SMTP_USERNAME: ${SMTP_USERNAME}
SMTP_PASSWORD: ${SMTP_PASSWORD}
DOMAIN: ${DOMAIN}
volumes:
- ${ROOT_DIR}:/data:rw