generated from coop-cloud/example
local.json is automatically generated and can change due to updates, to prevent breaking changes, only append the necssary config using a custom entrypoint.
16 lines
319 B
YAML
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}
|