mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-22 08:38:08 +02:00
Initial open-source release
This commit is contained in:
commit
1a42152e6f
1199 changed files with 257054 additions and 0 deletions
24
examples/postgres-historic/docker-compose.yml
Normal file
24
examples/postgres-historic/docker-compose.yml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
services:
|
||||
postgres:
|
||||
image: postgres:14
|
||||
command:
|
||||
- postgres
|
||||
- -c
|
||||
- shared_preload_libraries=pg_stat_statements
|
||||
- -c
|
||||
- pg_stat_statements.track=top
|
||||
- -c
|
||||
- pg_stat_statements.max=10000
|
||||
environment:
|
||||
POSTGRES_DB: analytics
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres # pragma: allowlist secret
|
||||
ports:
|
||||
- "55432:5432"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres -d analytics"]
|
||||
interval: 2s
|
||||
timeout: 5s
|
||||
retries: 30
|
||||
volumes:
|
||||
- ./init:/docker-entrypoint-initdb.d:ro
|
||||
Loading…
Add table
Add a link
Reference in a new issue