fix: Add explicit secrets definition to docker-compose.staging.yml
- Add secrets section at end of docker-compose.staging.yml - Ensures secrets are properly loaded even if inherited from base file - Should fix issue where REDIS_PASSWORD_FILE variable is not set - Secrets are now explicitly defined: redis_password, db_user_password, app_key, vault_encryption_key, git_token
This commit is contained in:
@@ -429,3 +429,23 @@ volumes:
|
|||||||
staging-redis-data:
|
staging-redis-data:
|
||||||
name: staging-redis-data
|
name: staging-redis-data
|
||||||
|
|
||||||
|
# Docker Secrets Configuration
|
||||||
|
# Secrets are inherited from docker-compose.base.yml
|
||||||
|
# But we need to explicitly define them here to ensure they're available
|
||||||
|
secrets:
|
||||||
|
db_user_password:
|
||||||
|
file: ./secrets/db_user_password.txt
|
||||||
|
external: false
|
||||||
|
redis_password:
|
||||||
|
file: ./secrets/redis_password.txt
|
||||||
|
external: false
|
||||||
|
app_key:
|
||||||
|
file: ./secrets/app_key.txt
|
||||||
|
external: false
|
||||||
|
vault_encryption_key:
|
||||||
|
file: ./secrets/vault_encryption_key.txt
|
||||||
|
external: false
|
||||||
|
git_token:
|
||||||
|
file: ./secrets/git_token.txt
|
||||||
|
external: false
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user