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

Issue with Data Persistence in PostgreSQL with Docker Compose #2468

Open
dopoljak opened this issue May 26, 2023 · 0 comments
Open

Issue with Data Persistence in PostgreSQL with Docker Compose #2468

dopoljak opened this issue May 26, 2023 · 0 comments

Comments

@dopoljak
Copy link

dopoljak commented May 26, 2023

Hi,

I'm having an issue with the iasql container regarding data persistence when using Docker Compose. I am trying to persist PostgreSQL data to my local storage.

The iasql container successfully starts and creates data in the local persistence volume, but upon restart, the connection to AWS and data are not restored.

Below is the Docker Compose script that I have been using:

version: '3.8'
services:
iasql:
image: iasql/iasql
ports:
- "9876:9876"
- "5432:5432"
volumes:
- <path_to_your_local_folder>:/var/lib/postgresql/14/main
environment:
- IASQL_ENV=ci
container_name: iasql

Is there something missing or incorrect in my configuration that is causing this problem? Any guidance would be greatly appreciated.

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