mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-31 15:48:57 +02:00
Huge role refactoring/cleanup. Other commits will propably follow. Because some bugs will exist. Still important for longrun and also for auto docs/help/slideshow generation
This commit is contained in:
21
roles/web-app-pgadmin/templates/env.j2
Normal file
21
roles/web-app-pgadmin/templates/env.j2
Normal file
@@ -0,0 +1,21 @@
|
||||
# Configuration @see https://www.pgadmin.org/docs/pgadmin4/latest/container_deployment.html
|
||||
|
||||
# Disable postfix integration (not needed in containerized environments)
|
||||
PGADMIN_DISABLE_POSTFIX=True
|
||||
|
||||
# Default login email for server mode
|
||||
PGADMIN_DEFAULT_EMAIL={{ applications[application_id].users.administrator.email }}
|
||||
|
||||
# Default login password for server mode
|
||||
PGADMIN_DEFAULT_PASSWORD={{ applications[application_id].credentials.administrator_password }}
|
||||
|
||||
{% if applications[application_id].server_mode | bool %}
|
||||
# Load server connection settings from this JSON file
|
||||
PGADMIN_SERVER_JSON_FILE={{ pgadmin_docker_server_file }}
|
||||
|
||||
# Enable desktop (single-user) mode
|
||||
PGADMIN_CONFIG_SERVER_MODE=False
|
||||
|
||||
# Disable master password prompt for stored credentials
|
||||
PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED={{ applications[application_id].master_password_required | capitalize }}
|
||||
{% endif %}
|
Reference in New Issue
Block a user