Skip to content

Comments

fix(docker compose): remove /data in postgres mount#918

Closed
armanddidierjean wants to merge 1 commit intomainfrom
postgres-data-mount
Closed

fix(docker compose): remove /data in postgres mount#918
armanddidierjean wants to merge 1 commit intomainfrom
postgres-data-mount

Conversation

@armanddidierjean
Copy link
Member

Description

Summary

The change is required for the latest postgresql image

Issues/PR dependencies

Issues to be resolved

Required PRs

Changes Made

  • ...
  • ...

Additional Notes

Classification

Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 🔨 Refactor (non-breaking change that neither fixes a bug nor adds a feature)
  • 🔧 Infra CI/CD (changes to configs of workflows)
  • 💥 BREAKING CHANGE (fix or feature that require a new minimal version of the front-end)
  • 😶‍🌫️ No impact for the end-users

Impact & Scope

  • Core functionality changes
  • Single module changes
  • Multiple modules changes
  • Database migrations required
  • Other: ...

Testing

  • 1. Tested this locally
  • 2. Added/modified tests that pass the CI (or tested in a downstream fork)
  • 3. Tested in a deployed pre-prod
  • 0. Untestable (exceptionally), will be tested in prod directly

Documentation

  • Updated the docs accordingly :
  • " Docstrings
  • # Inline comments
  • No documentation needed

@armanddidierjean armanddidierjean added the fix bug This PR fix a bug label Dec 7, 2025
@codecov
Copy link

codecov bot commented Dec 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.87%. Comparing base (a6238d0) to head (6c501b3).
⚠️ Report is 29 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #918   +/-   ##
=======================================
  Coverage   84.87%   84.87%           
=======================================
  Files         193      193           
  Lines       13895    13895           
=======================================
  Hits        11793    11793           
  Misses       2102     2102           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment on lines 3 to 18
image: postgres
container_name: hyperion-db-dev
restart: unless-stopped
environment:
POSTGRES_HOST: ${POSTGRES_HOST}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_DB: ${POSTGRES_DB}
PGTZ: ${POSTGRES_TZ}
ports:
- 5432:5432
volumes:
- hyperion_db_data:/var/lib/postgresql/data
- hyperion_db_data:/var/lib/postgresql

hyperion-redis:
image: redis
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider instead setting explicit version tags, for consistency with the other Hyperion-related compose files. This issue seems specific to the new major Postgres 18.

Suggested change
image: redis
image: postgres:15.1
container_name: hyperion-db-dev
restart: unless-stopped
environment:
POSTGRES_HOST: ${POSTGRES_HOST}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_DB: ${POSTGRES_DB}
PGTZ: ${POSTGRES_TZ}
ports:
- 5432:5432
volumes:
- hyperion_db_data:/var/lib/postgresql/data
hyperion-redis:
image: redis:7.0-alpine

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

completely broken GH interface...

@Marc-Andrieu
Copy link
Member

Superseded by #950

@Marc-Andrieu Marc-Andrieu deleted the postgres-data-mount branch February 18, 2026 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix bug This PR fix a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants