Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add metadata cmd #2091

Merged
merged 11 commits into from
Aug 26, 2022
Prev Previous commit
Next Next commit
Add pghero
Signed-off-by: wslulciuc <[email protected]>
  • Loading branch information
wslulciuc committed Aug 26, 2022
commit 192278afbe36f4fc40e8209839c5e71242bfa03c
9 changes: 9 additions & 0 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,12 @@ services:
build:
context: ./web
dockerfile: Dockerfile

# To enable query stats with pghero, see https://github.com/ankane/pghero/blob/master/guides/Query-Stats.md#installation
pghero:
image: ankane/pghero
container_name: pghero
ports:
- "8080:8080"
environment:
DATABASE_URL: postgres:https://marquez:marquez@db:5432
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ services:
- MARQUEZ_USER=marquez
- MARQUEZ_PASSWORD=marquez
volumes:
- ./docker/postgresql.conf:/etc/postgresql/postgresql.conf
- db-init:/docker-entrypoint-initdb.d
command: ["postgres", "-c", "config_file=/etc/postgresql/postgresql.conf"]
# Enables SQL statement logging (see: https://www.postgresql.org/docs/12/runtime-config-logging.html#GUC-LOG-STATEMENT)
# command: ["postgres", "-c", "log_statement=all"]

Expand Down