-
Notifications
You must be signed in to change notification settings - Fork 209
[backend] chore(onboarding): improv our onboarding process (#5567) #5572
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
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
81 changes: 81 additions & 0 deletions
81
openaev-api/src/main/resources/application-dev.properties.example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,81 @@ | ||
| # ============================================================================= | ||
| # OpenAEV Development Profile (Spring profile: dev) | ||
| # ============================================================================= | ||
| # Copy this file to application-dev.properties and update values as needed. | ||
| # Activate with: --spring.profiles.active=dev (or ACTIVE_PROFILES=dev in IntelliJ) | ||
| # | ||
| # Default values below match the docker-compose services in openaev-dev/. | ||
|
|
||
| # OpenAEV General Configuration | ||
| openaev.admin.email=admin@openaev.io | ||
| openaev.admin.password=admin | ||
| openaev.admin.token=<generate-a-uuid> | ||
| openaev.admin.encryption_key=ChangeMe | ||
| openaev.admin.encryption_salt=ChangeMe | ||
| # Enterprise license (leave empty for community edition) | ||
| # A valid license can be found in the team's 1Password vault. | ||
| openaev.application-license= | ||
|
|
||
| ######################## | ||
| # RUNTIME DEPENDENCIES # | ||
| ######################## | ||
|
|
||
| ### POSTGRESQL Configuration | ||
| # Values should match POSTGRES_USER / POSTGRES_PASSWORD from openaev-dev/.env | ||
| spring.datasource.url=jdbc:postgresql://localhost:5432/openaev | ||
| spring.datasource.username=${POSTGRES_USER:openaev} | ||
| spring.datasource.password=${POSTGRES_PASSWORD:openaev} | ||
|
|
||
| ### ENGINE Configuration | ||
| # selector can be "elk" (Elasticsearch, port 9200) or "opensearch" (OpenSearch, port 9202) | ||
| engine.engine-selector=opensearch | ||
| engine.url=http://localhost:9200 | ||
|
|
||
| ### MINIO Configuration | ||
| # Ports match docker-compose: API on 10000, console on 10001 | ||
| minio.endpoint=localhost | ||
| minio.port=10000 | ||
| minio.access-key=minioadmin | ||
| minio.access-secret=minioadmin | ||
|
|
||
| ###################### | ||
| # RUNTIME PROPERTIES # | ||
| ###################### | ||
|
|
||
| # Logging | ||
| logging.level.root=info | ||
| logging.level.io.openaev=info | ||
|
|
||
| ############# | ||
| # INJECTORS # | ||
| ############# | ||
|
|
||
| # Mail sending config (required for email-based injects) | ||
| # Credentials can be found in 1Password: "[OpenAEV/Dev] SMTP / IMAP account" | ||
| openaev.default-mailer=no-reply@openaev.io | ||
| openaev.default-reply-to=contact@openaev.io | ||
| spring.mail.host=<see-1password> | ||
| spring.mail.port=465 | ||
| spring.mail.username=<see-1password> | ||
| spring.mail.password=<see-1password> | ||
| # Extra mail configuration | ||
| spring.mail.properties.mail.smtp.ssl.trust=* | ||
| spring.mail.properties.mail.smtp.ssl.enable=true | ||
| spring.mail.properties.mail.smtp.auth=true | ||
| spring.mail.properties.mail.smtp.starttls.enable=true | ||
|
|
||
| # IMAP Configuration (optional, for email reception) | ||
| # Credentials can be found in 1Password: "[OpenAEV/Dev] SMTP / IMAP account" | ||
| openaev.mail.imap.enabled=false | ||
| openaev.mail.imap.host=ssl0.ovh.net | ||
| openaev.mail.imap.username=<see-1password> | ||
| openaev.mail.imap.password=<see-1password> | ||
| openaev.mail.imap.port=993 | ||
| openaev.mail.imap.inbox=INBOX | ||
|
|
||
| ############################# | ||
| # FEATURE UNDER DEVELOPMENT # | ||
| ############################# | ||
| # Use "*" to enable all dev features, or a comma-separated list | ||
| openaev.enabled-dev-features=* | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,18 +1,25 @@ | ||
| # ============================================================================= | ||
| # OpenAEV Development Environment Variables | ||
| # Copy this file to .env and update values as needed | ||
| # ============================================================================= | ||
| # Copy this file to .env and update values as needed: | ||
| # cp .env.example .env | ||
| # | ||
| # These variables are consumed by docker-compose.yml (via podman compose). | ||
|
|
||
| # PostgreSQL Configuration | ||
| # ---------- PostgreSQL ---------- | ||
| # Used by both dev (port 5432) and test (port 5433) PostgreSQL containers | ||
| POSTGRES_USER=openaev | ||
| POSTGRES_PASSWORD=openaev | ||
|
|
||
| # pgAdmin Configuration | ||
| # ---------- pgAdmin (optional) ---------- | ||
| # Web UI available at http://localhost:5050 | ||
| PGADMIN_USER=admin@openaev.io | ||
| PGADMIN_PASSWORD=admin | ||
|
|
||
| # openaev API, e.g. for XTM Composer | ||
| # ---------- XTM Composer (optional) ---------- | ||
| # Only needed if you run the xtm-composer service. | ||
| # OPENAEV_ADMIN_TOKEN must match openaev.admin.token in application-dev.properties | ||
| OPENAEV_ADMIN_TOKEN= | ||
| XTM_COMPOSER_ID= | ||
|
|
||
| # openaev URL used for XTM Composer, for macOS and Windows, use http://host.docker.internal:8080, | ||
| # for Linux, use http://localhost:8080 | ||
| # For macOS/Windows use http://host.docker.internal:8080, for Linux use http://localhost:8080 | ||
| OPENAEV_URL= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.