-
Notifications
You must be signed in to change notification settings - Fork 14
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
harden docker-compose #298
base: main
Are you sure you want to change the base?
Conversation
…ublic internet merge docker-compose-db.yml to main compose file for better readability and reduce complexity remove unused variables and Dockerfile enforce user to set a password for postgres database
I dont get it, this is a docker compose used for development. I feel like infra operator should take this and modify it as they need? This is going to make development more difficult:
|
but people are using this in production. OR, I can create a separate repository for production deployment using docker and use GitHub images from CI |
I disagree. Perhaps there should be a |
sure, we can have two! |
@0x4r45h can you split it into dev and prod? |
Yeah, sure, but I suggest keeping the docker-compose.yml for production. If we don’t, infra providers will have to pass the -f docker-compose-prod.yml flag to their commands, which could cause more confusion since most of them aren’t comfortable with Docker. For developers, we can alias it to a just command to make usage easier. |
I did some research on community Namada-Indexer providers, and here’s what I found:
8 teams had Dragonfly exposed on the default port without any credentials.
4 teams had Postgres exposed on the default port with default credentials.
These PRs address these issues by: