onlyoffice/compose.jwt.yml

16 lines
319 B
YAML

version: '3.8'
services:
app:
environment:
- JWT_ENABLED=true
- JWT_HEADER=Authorization
- JWT_IN_BODY=true
- JWT_SECRET_FILE=/run/secrets/jwt_secret
secrets:
- jwt_secret
secrets:
jwt_secret:
external: true
name: ${STACK_NAME}_jwt_secret_${SECRET_JWT_SECRET_VERSION}