mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-04-05 16:44:16 +02:00
Addapt pgadmin variables
This commit is contained in:
parent
2c964cfbee
commit
b77f116bdf
@ -23,6 +23,7 @@ For optimal personal security, we **strongly recommend** the following:
|
||||
|
||||
Following these guidelines will significantly enhance your personal security—but remember, no system is completely immune to risk.
|
||||
|
||||
A tutorial how to setup secure password management you will find [here](https://blog.veen.world/blog/2025/04/04/%f0%9f%9b%a1%ef%b8%8f-keepassxc-cymais-cloud-the-ultimate-guide-to-cross-device-password-security/)
|
||||
---
|
||||
|
||||
## For Administrators
|
||||
|
@ -623,9 +623,11 @@ defaults_applications:
|
||||
|
||||
## PgAdmin
|
||||
pgadmin:
|
||||
version: "latest"
|
||||
default_email: "{{ users.administrator.email }}" # Initial login email address
|
||||
default_password: "{{ users.administrator.initial_password }}" # Initial login password – should be overridden in inventory for security
|
||||
version: "latest"
|
||||
users:
|
||||
administrator:
|
||||
email: "{{ users.administrator.email }}" # Initial login email address
|
||||
password: "{{ users.administrator.initial_password }}" # Initial login password – should be overridden in inventory for security
|
||||
oauth2_proxy:
|
||||
enabled: true # Enable OAuth2 proxy for authentication
|
||||
application: "application"
|
||||
|
@ -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)
|
||||
|
9
roles/docker-oauth2-proxy/Setup.md
Normal file
9
roles/docker-oauth2-proxy/Setup.md
Normal file
@ -0,0 +1,9 @@
|
||||
# Setup
|
||||
|
||||
## Cookie Secret
|
||||
|
||||
To generate a cookie secret execute:
|
||||
|
||||
```bash
|
||||
ansible-vault encrypt_string "$(openssl rand -hex 16)"
|
||||
```
|
@ -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
|
@ -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 %}
|
Loading…
x
Reference in New Issue
Block a user