webservice
This commit is contained in:
23
postgresql.md
Normal file
23
postgresql.md
Normal file
@@ -0,0 +1,23 @@
|
||||
pgadmin:
|
||||
image: dpage/pgadmin4:9.8
|
||||
depends_on:
|
||||
database:
|
||||
condition: service_healthy
|
||||
caddy:
|
||||
condition: service_started
|
||||
restart: "no"
|
||||
configs:
|
||||
- source: pgadmin_config
|
||||
target: /pgadmin4/servers.json
|
||||
volumes:
|
||||
- pgadmin:/var/lib/pgadmin/
|
||||
environment:
|
||||
PGADMIN_DEFAULT_EMAIL: ${PGADMIN_EMAIL}
|
||||
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_PASSWORD}
|
||||
PGADMIN_DISABLE_POSTFIX: true
|
||||
networks:
|
||||
- caddy_net
|
||||
labels:
|
||||
caddy: pgadmin.localhost
|
||||
caddy.reverse_proxy: "{{upstreams 80}}"
|
||||
caddy.tls: internal
|
||||
Reference in New Issue
Block a user