mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-28 18:26:15 +01:00
16 lines
491 B
YAML
16 lines
491 B
YAML
services:
|
|
db:
|
|
image: docker.io/library/postgres:16-alpine
|
|
restart: on-failure
|
|
environment:
|
|
POSTGRES_USER: posthog
|
|
POSTGRES_DB: posthog
|
|
POSTGRES_PASSWORD: posthog
|
|
healthcheck:
|
|
test: ['CMD-SHELL', 'pg_isready -U posthog']
|
|
interval: 5s
|
|
timeout: 5s
|
|
ports:
|
|
- '15432:5432'
|
|
command: postgres -c max_connections=1000 -c idle_in_transaction_session_timeout=300000
|