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

chore: Docker setup improvements #846

Merged
merged 3 commits into from
May 25, 2022
Merged

chore: Docker setup improvements #846

merged 3 commits into from
May 25, 2022

Conversation

MonkeyDo
Copy link
Contributor

  1. Follow guidelines for docker-compose file
  2. Simplify database creation (use postgres image env variables instead of running a script)
  3. Make the database init script a bit more reusable

Only bind ports to local ip address to avoid this docker-compose file leading to open ports if used as-is in a dev environment
Instead of having to run a separate script we can just use the postgres docker image env variables to create the DB and user on first start. Thanks alastairp !
@MonkeyDo MonkeyDo requested a review from alastair May 25, 2022 13:35
Copy link

@alastair alastair left a comment

Choose a reason for hiding this comment

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

👌

@MonkeyDo MonkeyDo merged commit 5f9c2b6 into master May 25, 2022
@MonkeyDo MonkeyDo deleted the docker-setup branch May 25, 2022 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants