feat(local-secrets): introduce unified local secrets management and documentation
- Add example secret files for `app_key`, `db_user_password`, and `redis_password`. - Introduce `local.vault.yml.example` for Ansible Vault encryption of local secrets. - Create migration and setup scripts for transitioning from `.env.local` to secrets files. - Update `docker-compose.local.yml` to adopt Docker Secrets and `_FILE` pattern for local configurations. - Add deployment playbooks and enhanced logging configurations for local development.
This commit is contained in:
4
Makefile
4
Makefile
@@ -37,6 +37,10 @@ reload: ## Dump Autoload & Restart PHP
|
||||
docker compose $(COMPOSE_FILES) exec php composer dump-autoload -o
|
||||
docker compose $(COMPOSE_FILES) restart php
|
||||
|
||||
# Local Development Secrets (via Ansible)
|
||||
local-secrets: ## Setup Local Development Secrets via Ansible
|
||||
ansible-playbook -i deployment/ansible/inventory/local.yml deployment/ansible/playbooks/setup-local-secrets.yml
|
||||
|
||||
# Staging Environment
|
||||
up-staging: ## Startet Staging-Container
|
||||
docker compose -f $(COMPOSE_BASE) -f $(COMPOSE_STAGING) up -d
|
||||
|
||||
Reference in New Issue
Block a user