diff --git a/docker-compose.yaml b/docker-compose.yaml index 3e5475d..b0f1c5f 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -38,9 +38,13 @@ services: postgres: image: postgres:18.1 volumes: + - postgres_data:/var/lib/postgresql - ./docker/postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d environment: - POSTGRES_USER=postgres - POSTGRES_PASSWORD=postgres ports: - '5432:5432' + +volumes: + postgres_data: \ No newline at end of file