Files
rinoa-docker/ansible/app-configs/ghost/ghost_config.production.json.j2
T
Trez.One add421bb81
Gitea Branch PR & Ansible Deployment / Check and Create PR (push) Successful in 6m4s
Gitea Branch PR & Ansible Deployment / Ansible Lint (push) Failing after 15m39s
Gitea Branch PR & Ansible Deployment / PR Merge (push) Successful in 7m16s
Gitea Branch PR & Ansible Deployment / Ansible Config Deployment (push) Successful in 14m40s
Adding Jinja macro for Vault lookup.
2025-06-13 21:52:09 -04:00

43 lines
1000 B
Django/Jinja

{% import '../macros/rinoa-macros.j2' as vault %}
{% set vault_addr = 'https://vault.trez.wtf' %}
{% set secrets_path = 'rinoa-docker/env' %}
{
"url": "blog.trez.wtf",
"database": {
"client": "mysql",
"connection": {
"host" : "mariadb",
"port" : 3306,
"user" : "ghost",
"password" : "{{ vault.vault_secret('env', 'GHOST_DB_PASSWORD') }}",
"database" : "ghost_db"
}
},
"mail": {
"from": "'Ghost @ Rinoa' <noreply@trez.wtf>",
"transport": "SMTP",
"options": {
"host": "postal-smtp",
"port": 25,
"secure": false,
"auth": {
"user": "{{ vault.vault_secret('env', 'POSTAL_SMTP_AUTH_USER') }}",
"pass": "{{ vault.vault_secret('env', 'POSTAL_SMTP_AUTH_PASSWORD') }}"
}
}
},
"paths": {
"contentPath": "content/"
},
"privacy": {
"useGravatar": true
},
"logging": {
"level": "info",
"rotation": {
"enabled": true
},
"transports": ["file"]
}
}