Addapt pgadmin variables

This commit is contained in:
2025-04-04 11:20:38 +02:00
parent 2c964cfbee
commit b77f116bdf
6 changed files with 23 additions and 7 deletions

View File

@@ -12,6 +12,10 @@ The role ensures consistent deployments, full automation, and secure configurati
To automate the deployment of **secure, extensible, and production-ready Nextcloud instances** using Docker and Ansible.
## User Guide
The Nextcloud User Guide you will find [here](https://docs.nextcloud.com/server/latest/user_manual/en/).
## Features
- Dockerized Nextcloud (PHP-FPM, Nginx, Cron, Redis)

View File

@@ -0,0 +1,9 @@
# Setup
## Cookie Secret
To generate a cookie secret execute:
```bash
ansible-vault encrypt_string "$(openssl rand -hex 16)"
```

View File

@@ -1,5 +1,5 @@
# Configuration @see https://hub.docker.com/r/dpage/pgadmin4
# Configuration @see https://www.pgadmin.org/docs/pgadmin4/latest/container_deployment.html
PGADMIN_DEFAULT_EMAIL={{ applications.pgadmin.default_email }}
PGADMIN_DEFAULT_PASSWORD={{ applications.pgadmin.default_password }}
PGADMIN_DEFAULT_EMAIL={{ applications[application_id].users.administrator.email }}
PGADMIN_DEFAULT_PASSWORD={{ applications.[application_id].users.administrator.password }}
PGADMIN_DISABLE_POSTFIX=True

View File

@@ -1,7 +1,7 @@
# Configuration @see https://hub.docker.com/_/phpmyadmin
PMA_HOST= central-mariadb
{% if applications.phpmyadmin.autologin | bool %}
{% if applications.[application_id].autologin | bool %}
PMA_USER= root
PMA_PASSWORD= "{{central_mariadb_root_password}}"
{% endif %}