chendeben 9 年 前
コミット
1777ce8e2a
1 ファイル変更2 行追加1 行削除
  1. 2 1
      docker-compose.yml

+ 2 - 1
docker-compose.yml

@@ -6,10 +6,11 @@ services:
       context: ./db
     environment:
       - POSTGRES_PASSWORD=postgres
+      - PGDATA=/postgresql/data
     ports:
       - "5432:5432"
     volumes:
-      - ./db/data:/var/lib/postgresql/data
+      - ./db/data:/postgresql/data
   yidu:
     build:
       context: ./yidu