infrastructure/apps/hedgedoc/config/base.env
Peter Kurfer 2578e6951d
All checks were successful
continuous-integration/drone/push Build is passing
refactor: use SOPS to encrypt secrets
2023-10-26 21:57:43 +02:00

36 lines
No EOL
1.2 KiB
Bash

CMD_DOMAIN=md.icb4dc0.de
CMD_URL_ADDPORT=false
CMD_PROTOCOL_USESSL=true
CMD_USECDN=false
CMD_SESSION_LIFE=1209600000
CMD_HSTS_ENABLE=true
CMD_HSTS_MAX_AGE=31536000
CMD_HSTS_INCLUDE_SUBDOMAINS=false
CMD_HSTS_PRELOAD=true
CMD_CSP_ENABLE=true
CMD_ALLOW_GRAVATAR=true
CMD_RESPONSE_MAX_LAG=70
CMD_ALLOW_FREEURL=false
CMD_FORBIDDEN_NOTE_IDS=robots.txt,favicon.ico,api
CMD_DEFAULT_PERMISSION=editable
CMD_ALLOW_ANONYMOUS_EDITS=false
CMD_ALLOW_ANONYMOUS_VIEWS=true
CMD_ALLOW_PDF_EXPORT=true
CMD_DEFAULT_USE_HARD_BREAK=true
CMD_LINKIFY_HEADER_STYLE=keep-case
CMD_AUTO_VERSION_CHECK=true
CMD_ALLOW_EMAIL_REGISTER=true
CMD_EMAIL=false
CMD_OAUTH2_BASEURL=https://code.icb4dc0.de
CMD_OAUTH2_USER_PROFILE_URL=https://code.icb4dc0.de/login/oauth/userinfo
CMD_OAUTH2_AUTHORIZATION_URL=https://code.icb4dc0.de/login/oauth/authorize
CMD_OAUTH2_TOKEN_URL=https://code.icb4dc0.de/login/oauth/access_token
CMD_OAUTH2_PROVIDERNAME=Forgejo
CMD_OAUTH2_SCOPE=openid profile email
CMD_OAUTH2_USER_PROFILE_DISPLAY_NAME_ATTR=name
CMD_OAUTH2_USER_PROFILE_EMAIL_ATTR=email
CMD_OAUTH2_USER_PROFILE_USERNAME_ATTR=preferred_username
CMD_IMAGE_UPLOAD_TYPE=minio
CMD_MINIO_ENDPOINT=minio.minio.svc.cluster.local
CMD_MINIO_PORT=9000
CMD_MINIO_SECURE=true