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

PSQL docker container loses all firepit data after down and up again #129

Open
Berkan352 opened this issue Dec 21, 2024 · 0 comments
Open

Comments

@Berkan352
Copy link

While using the firepit I face this issue:

When psql container is running there is no problem I can read and write data.
But when the container is down and up again the whole data is gone except schema and tables.
So, the tables are there but there is no data inside.
And it happens only for the firepit tables the other tables are fine.

Here is the docker stack:

 pg:
    image: timescale/timescaledb:latest-pg14
    restart: unless-stopped
    volumes:
      - postgres-data:/var/lib/postgresql/data
    environment:
      - POSTGRES_USER=postgres
      - POSTGRES_DB=postgres
      - POSTGRES_PASSWORD=postgres
    ports:
      - "${PGDB_PORT:-5432}:5432"
    networks:
      - network

Can you help with this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant