-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
docker-compose.yaml
Outdated
context: ./ | ||
dockerfile: Dockerfile | ||
extra_hosts: | ||
- "localhost:127.0.0.1" |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
docker-compose.yaml
Outdated
ports: | ||
- '5432:5432' | ||
volumes: | ||
- ./pgdata:/var/lib/postgresql/data/pgdata |
There was a problem hiding this comment.
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
5c6240a
to
743e30d
Compare
No description provided.