DataExpert-io/data-engineer-handbook

[1-dimensional-data-modeling] postgres-data folder is not created

Closed this issue · 3 comments

I've modified the docker-compose.yml file to change the volume configuration. The previous setup didn't generate me a postgres-data folder in the project directory, so I updated it to use a local folder instead. (I'm using WSL)

Previous conf:

volumes:
  - ./:/bootcamp/
  - ./data.dump:/docker-entrypoint-initdb.d/data.dump
  - ./scripts/init-db.sh:/docker-entrypoint-initdb.d/init-db.sh
  - postgres-data:/var/lib/postgresql/data

volumes:
  postgres-data:

Update conf:

volumes:
  - ./:/bootcamp/
  - ./data.dump:/docker-entrypoint-initdb.d/data.dump
  - ./scripts/init-db.sh:/docker-entrypoint-initdb.d/init-db.sh
  - ./postgres-data:/var/lib/postgresql/data

Hi @rublaman , I think the best way to contribute to the repo it to open a pull request.
Fork the repo, clone it down to your machine, do the changes, push to your fork remote and then create a pull request to merge into the original (this one)

Hi @rublaman , I think the best way to contribute to the repo it to open a pull request. Fork the repo, clone it down to your machine, do the changes, push to your fork remote and then create a pull request to merge into the original (this one)

I'm going to do that. Thx @fernandostahelin

Hi @rublaman , I think the best way to contribute to the repo it to open a pull request. Fork the repo, clone it down to your machine, do the changes, push to your fork remote and then create a pull request to merge into the original (this one)

i'm going to do that. Thx @fernandostahelin