From 826b0269f43081ed6821a34cce566b50c6a07893 Mon Sep 17 00:00:00 2001 From: 3wc <3wc@doesthisthing.work> Date: Fri, 1 Sep 2023 20:39:22 +0200 Subject: [PATCH] Add API_TOKEN --- .env.sample | 3 +++ compose.yml | 1 + 2 files changed, 4 insertions(+) diff --git a/.env.sample b/.env.sample index 674444e..c2c4987 100644 --- a/.env.sample +++ b/.env.sample @@ -153,6 +153,9 @@ LOG_LEVEL=WARNING # Timezone for the Mailu containers. See this link for all possible values https://en.wikipedia.org/wiki/List_of_tz_database_time_zones TZ=Etc/UTC +# Authentication token for API requests +#API_TOKEN= + ################################### # Database settings ################################### diff --git a/compose.yml b/compose.yml index 83dbb50..7e402c0 100644 --- a/compose.yml +++ b/compose.yml @@ -5,6 +5,7 @@ x-environment: - FRONT_ADDRESS=${STACK_NAME}_app - ADMIN - ANTIVIRUS + - API_TOKEN - AUTH_RATELIMIT_IP - MESSAGE_RATELIMIT - COMPOSE_PROJECT_NAME