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

chore: Update base postgres to version 15 #17159

Merged
merged 4 commits into from
Sep 13, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker-compose.base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

services:
db:
image: ${DOCKER_REGISTRY_PREFIX:-}postgres:12-alpine
image: ${DOCKER_REGISTRY_PREFIX:-}postgres:15-alpine
restart: on-failure
environment:
POSTGRES_USER: posthog
Expand Down
15 changes: 12 additions & 3 deletions docker-compose.hobby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,20 @@

services:
db:
extends:
file: docker-compose.base.yml
service: db
#Pin to postgres 12 until we have a process for pg_upgrade to postgres 15 for exsisting installations
image: ${DOCKER_REGISTRY_PREFIX:-}postgres:12-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
danielxnj marked this conversation as resolved.
Show resolved Hide resolved
volumes:
- postgres-data:/var/lib/postgresql/data

redis:
extends:
file: docker-compose.base.yml
Expand Down