diff --git a/docker-compose.yml b/docker-compose.yml index c5b84307..447dba85 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,6 +10,8 @@ services: - "5431:5432" env_file: - ./.env.sample + volumes: + - db:/var/lib/postgresql/data app: container_name: app build: ./ @@ -47,4 +49,7 @@ services: - db entrypoint: ["/bin/sh", "-c"] command: - - node worker/index.js \ No newline at end of file + - node worker/index.js + +volumes: + db: \ No newline at end of file