Address gitignore persistence

This commit is contained in:
broquemonsieur
2023-07-07 17:16:35 -07:00
parent b95a4e8432
commit 7b757aaf9c
3 changed files with 18 additions and 2 deletions

View File

@@ -26,6 +26,7 @@ services:
host: invidious-db
port: 5432
check_tables: true
log_level: Info
# external_port:
# domain:
# https_only: false
@@ -53,5 +54,20 @@ services:
healthcheck:
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
invidious-pgadmin:
image: docker.io/dpage/pgadmin4:latest
restart: unless-stopped
environment:
- PGADMIN_DEFAULT_EMAIL=*******
- PGADMIN_DEFAULT_PASSWORD=*******
- PGADMIN_DISABLE_POSTFIX=1
- GUNICORN_ACCESS_LOGFILE=/dev/null
- GUNICORN_THREADS=1
ports:
- "127.0.0.1:5050:80"
depends_on:
invidious-db:
condition: service_healthy
volumes:
postgresdata: