-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
questionUsability question, not directly related to an error with the imageUsability question, not directly related to an error with the image
Description
Hi! Can you help me fix some problem with my database?
I have a docker-compose.yml
with some configuration. It works correctly but after removing my container and start again I lose my data in the database. What am I doing wrong?
OS: Windows 10
Configuration file:
db:
image: postgres:11.1
restart: always
ports:
- 5444:5432
environment:
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=test
volumes:
- pgdata:/var/lib/postgresql/data
Metadata
Metadata
Assignees
Labels
questionUsability question, not directly related to an error with the imageUsability question, not directly related to an error with the image