mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Added pgadmin draft and optimized phpadmin
This commit is contained in:
19
roles/docker-pgadmin/templates/docker-compose.yml.j2
Normal file
19
roles/docker-pgadmin/templates/docker-compose.yml.j2
Normal file
@@ -0,0 +1,19 @@
|
||||
services:
|
||||
|
||||
{% include 'roles/docker-oauth2-proxy/templates/container.yml.j2' %}
|
||||
|
||||
application:
|
||||
image: dpage/pgadmin4:{{applications.pgadmin.version}}
|
||||
container_name: pgadmin
|
||||
{% include 'roles/docker-compose/templates/services/base.yml.j2' %}
|
||||
ports:
|
||||
- "127.0.0.1:{{ports.localhost.http[application_id]}}:80"
|
||||
{% include 'templates/docker/container/depends-on-just-database.yml.j2' %}
|
||||
{% include 'templates/docker/container/networks.yml.j2' %}
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
{% include 'templates/docker/compose/networks.yml.j2' %}
|
5
roles/docker-pgadmin/templates/env.j2
Normal file
5
roles/docker-pgadmin/templates/env.j2
Normal file
@@ -0,0 +1,5 @@
|
||||
# Configuration @see https://hub.docker.com/r/dpage/pgadmin4
|
||||
|
||||
PGADMIN_DEFAULT_EMAIL={{ applications.pgadmin.default_email }}
|
||||
PGADMIN_DEFAULT_PASSWORD={{ applications.pgadmin.default_password }}
|
||||
PGADMIN_DISABLE_POSTFIX=True
|
Reference in New Issue
Block a user