Templates are now stack-shaped folders (compose.yaml + .env.example +
template.json) instead of DB rows + manifest.json + {{VAR}} rendering.
Pull copies the folder into a new stack; custom templates persist under
DATA_DIR/templates. Adds POST /api/templates/from-stack and a one-time
startup migration for pre-0.31 DB templates (drops the template table).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
14 lines
349 B
YAML
14 lines
349 B
YAML
services:
|
|
vaultwarden:
|
|
image: vaultwarden/server:latest
|
|
container_name: vaultwarden
|
|
restart: unless-stopped
|
|
environment:
|
|
- TZ=${TZ:-Europe/Berlin}
|
|
- ADMIN_TOKEN=${ADMIN_TOKEN:-change-me}
|
|
- WEBSOCKET_ENABLED=true
|
|
ports:
|
|
- "${HTTP_PORT:-8200}:80"
|
|
volumes:
|
|
- ${DATA_PATH:-/srv/vaultwarden}:/data
|