Skip to content

Commit 1b68845

Browse files
committed
Fixed postgresql volumes.
1 parent 22b89c0 commit 1b68845

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fastapi_template/template/{{cookiecutter.project_name}}/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ services:
100100
POSTGRES_USER: "{{cookiecutter.project_name}}"
101101
POSTGRES_DB: "{{cookiecutter.project_name}}"
102102
volumes:
103-
- {{cookiecutter.project_name}}-db-data:/var/lib/postgresql/data
103+
- {{cookiecutter.project_name}}-db-data:/var/lib/postgresql
104104
restart: always
105105
healthcheck:
106106
test: pg_isready -U {{cookiecutter.project_name}}

0 commit comments

Comments
 (0)