From 05652f1cfb8d95ab8b9283337ff2e4e5df97093b Mon Sep 17 00:00:00 2001 From: leca Date: Wed, 13 Nov 2024 19:41:30 +0300 Subject: [PATCH] added persistent volumes for postgresql db --- docker-compose.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index b62405b..94c69d1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,11 +13,8 @@ services: - ./data/uploads:/uploads database: image: 'postgres:15' - - # ports: - # - 5432:5432 volumes: - - ./data/db:/var/lib/postgresql + - ./data/db:/var/lib/postgresql/data environment: POSTGRES_USER: bsfe POSTGRES_PASSWORD: Ch@NgEME!