Add more API stuff

This commit is contained in:
3wc
2023-09-04 15:51:33 +02:00
parent abd4911a9b
commit 877a528df2
2 changed files with 3 additions and 0 deletions

View File

@ -156,6 +156,7 @@ LOG_LEVEL=WARNING
TZ=Etc/UTC TZ=Etc/UTC
# Authentication token for API requests # Authentication token for API requests
API=false
#API_TOKEN= #API_TOKEN=
################################### ###################################

View File

@ -5,6 +5,7 @@ x-environment:
- FRONT_ADDRESS=${STACK_NAME}_app - FRONT_ADDRESS=${STACK_NAME}_app
- ADMIN - ADMIN
- ANTIVIRUS - ANTIVIRUS
- API
- API_TOKEN - API_TOKEN
- AUTH_RATELIMIT_IP - AUTH_RATELIMIT_IP
- MESSAGE_RATELIMIT - MESSAGE_RATELIMIT
@ -45,6 +46,7 @@ x-environment:
- WEBROOT_REDIRECT - WEBROOT_REDIRECT
- WEBSITE - WEBSITE
- WEB_WEBMAIL - WEB_WEBMAIL
- WEB_API=/api
- WELCOME - WELCOME
- WELCOME_BODY - WELCOME_BODY
- WELCOME_SUBJECT - WELCOME_SUBJECT