Do not put the initial admin key env into the docker compose templates

This is an feature for advanced users only and will risk secret leaking
This commit is contained in:
Jan Böhmer 2025-09-23 20:21:56 +02:00
parent 99b12aa409
commit 4102086803

View file

@ -75,11 +75,6 @@ services:
# Use gravatars for user avatars, when user has no own avatar defined
- USE_GRAVATAR=0
# Automatically create an admin API token during database setup (useful for CI/CD pipelines)
# Generate a 64-character random string with: openssl rand -hex 32
# The token will be available as: Bearer tcp_<your-64-char-key>
#- INITIAL_ADMIN_API_KEY=your_64_character_random_string_here
# Override value if you want to show a given text on homepage.
# When this is empty the content of config/banner.md is used as banner
#- BANNER=This is a test banner<br>with a line break
@ -151,11 +146,6 @@ services:
# However you can add add any other environment configuration you want here
# See .env file for all available options or https://docs.part-db.de/configuration.html
# Automatically create an admin API token during database setup (useful for CI/CD pipelines)
# Generate a 64-character random string with: openssl rand -hex 32
# The token will be available as: Bearer tcp_<your-64-char-key>
#- INITIAL_ADMIN_API_KEY=your_64_character_random_string_here
# Override value if you want to show to show a given text on homepage.
# When this is outcommented the webUI can be used to configure the banner
#- BANNER=This is a test banner<br>with a line break