diff --git a/docker-compose.yml b/docker-compose.yml index 3e95f486..524054b0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -32,4 +32,9 @@ services: restart: always db: image: postgres:alpine - restart: always \ No newline at end of file + volumes: + - "db_data:/var/lib/postgresql/data" + restart: always + +volumes: + db_data: \ No newline at end of file