![]() |
1 week ago | |
---|---|---|
.. | ||
README.md | 1 week ago | |
ldap_auth_password.txt | 1 week ago | |
mail_service_password.txt | 1 week ago | |
mongo_password.txt | 1 week ago | |
oauth2_secret.txt | 1 week ago | |
s3_secret.txt | 1 week ago |
This directory contains example secret files for Wekan Docker Compose deployment. These files should be used instead of environment variables for better security and GitOps compatibility.
ldap_auth_password.txt
- LDAP authentication passwordoauth2_secret.txt
- OAuth2 secret keymail_service_password.txt
- Mail service passwordmongo_password.txt
- MongoDB passwords3_secret.txt
- S3 configuration (JSON format)docker-compose.yml
to use the _FILE
environment variableschmod 600 secrets/*.txt
)Example configuration in docker-compose.yml
:
services:
wekan:
environment:
- LDAP_AUTHENTIFICATION_PASSWORD_FILE=/run/secrets/ldap_auth_password
- OAUTH2_SECRET_FILE=/run/secrets/oauth2_secret
- MAIL_SERVICE_PASSWORD_FILE=/run/secrets/mail_service_password
- MONGO_PASSWORD_FILE=/run/secrets/mongo_password
- S3_SECRET_FILE=/run/secrets/s3_secret
secrets:
- ldap_auth_password
- oauth2_secret
- mail_service_password
- mongo_password
- s3_secret
secrets:
ldap_auth_password:
file: ./secrets/ldap_auth_password.txt
oauth2_secret:
file: ./secrets/oauth2_secret.txt
mail_service_password:
file: ./secrets/mail_service_password.txt
mongo_password:
file: ./secrets/mongo_password.txt
s3_secret:
file: ./secrets/s3_secret.txt