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

Adding Default Credentials #22

Merged
merged 3 commits into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ The JPO ITS utilities repository serves as a central location for deploying open
- [Configuration](#configuration)
- [Configure Kafka Connector Creation](#configure-kafka-connector-creation)
- [Quick Run](#quick-run-2)
- [5. Deduplicator](#5-jpo-Deduplicator)
- [Deduplication Configuration](#deduplication-config)
- [Github Token Generation](#generate-a-github-token)
- [5. jpo-deduplicator](#5-jpo-deduplicator)
- [Deduplication Config](#deduplication-config)
- [Generate a Github Token](#generate-a-github-token)
- [Quick Run](#quick-run-3)
- [Security Notice](#security-notice)


<a name="base-configuration"></a>
Expand Down Expand Up @@ -256,3 +257,12 @@ For local development the following steps are also required
4. You should now see only one copy of the map message sent.

[Back to top](#toc)

## Security Notice

While default passwords are provided for development convenience, it is **strongly recommended** to:

1. Change all passwords before deploying to any environment
2. Never use default passwords in production
3. Use secure password generation and management practices
4. Consider using Docker secrets or environment management tools for production deployments
12 changes: 6 additions & 6 deletions sample.env
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,19 @@ MONGO_DB_NAME=CV

# Generate a random string for the MongoDB keyfile using the following command:
# $ openssl rand -base64 32
MONGO_DB_KEYFILE_STRING=
MONGO_DB_KEYFILE_STRING=replace_me

MONGO_ADMIN_DB_USER=admin
MONGO_ADMIN_DB_PASS=
MONGO_ADMIN_DB_PASS=replace_me

MONGO_READ_WRITE_USER=ode
MONGO_READ_WRITE_PASS=
MONGO_READ_WRITE_PASS=replace_me

MONGO_READ_USER=user
MONGO_READ_PASS=
MONGO_READ_PASS=replace_me

MONGO_EXPORTER_USERNAME=export
MONGO_EXPORTER_PASSWORD=
MONGO_EXPORTER_PASSWORD=replace_me

MONGO_EXPRESS_USER=${MONGO_ADMIN_DB_USER}
MONGO_EXPRESS_PASS=${MONGO_ADMIN_DB_PASS}
Expand Down Expand Up @@ -126,7 +126,7 @@ CONNECT_CONFIG_RELATIVE_PATH="./jikkou/kafka-connectors-values.yaml"
### DEDUPLICATOR variables - START ###

# Required for building the deduplicator. Documentation: https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry#authenticating-to-github-packages
MAVEN_GITHUB_TOKEN=
MAVEN_GITHUB_TOKEN=replace_me
Michael7371 marked this conversation as resolved.
Show resolved Hide resolved
MAVEN_GITHUB_ORG=usdot-jpo-ode

ENABLE_PROCESSED_MAP_DEDUPLICATION=${KAFKA_TOPIC_CREATE_GEOJSONCONVERTER}
Expand Down
Loading