Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP]: Dockerizing Nymeria #10

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

[WIP]: Dockerizing Nymeria #10

wants to merge 8 commits into from

Conversation

pratham1729
Copy link
Contributor

No description provided.

docker-compose.yaml Outdated Show resolved Hide resolved
@blackbird7112 blackbird7112 self-requested a review September 13, 2022 12:52
Copy link
Member

@blackbird7112 blackbird7112 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

context: ./
dockerfile: Dockerfile
extra_hosts:
- "localhost:127.0.0.1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are you doing this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i read the documentation for docker-compose files, i came across this argument, it's basically used to add customised hosts to the container. I now realise that this isn't needed, so i have removed it.

ports:
- '5432:5432'
volumes:
- ./pgdata:/var/lib/postgresql/data/pgdata
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do not use bind volumes, use named volumes for reliability

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants