26 lines
732 B
YAML
26 lines
732 B
YAML
---
|
|
|
|
version: "3.8"
|
|
|
|
volumes:
|
|
vaultwarden:
|
|
name: ${VAULTWARDEN_VOLUME_NAME:-vaultwarden}
|
|
|
|
services:
|
|
vaultwarden:
|
|
image: ${VAULTWARDEN_CONTAINER_NAME:-vaultwarden/server:1.27.0-alpine}
|
|
container_name: ${VAULTWARDEN_CONTAINER_NAME:-vaultwarden}
|
|
restart: always
|
|
depends_on:
|
|
- postgres
|
|
environment:
|
|
ADMIN_TOKEN: ${VAULTWARDEN_ADMIN_TOKEN:?err}
|
|
DOMAIN: https://${VAULTWARDEN_DOMAIN:?err}
|
|
INVITATION_ORG_NAME: ${VAULTWARDEN_INVITATION_ORG_NAME:-Vaultwarden}
|
|
LOG_LEVEL: ${VAULTWARDEN_LOG_LEVEL:-Info}
|
|
SIGNUPS_ALLOWED: ${VAULTWARDEN_SIGNUPS_ALLOWED:-true}
|
|
volumes:
|
|
- vaultwarden:/data
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|