-
Notifications
You must be signed in to change notification settings - Fork 45
Add TTL index creation for runs collection in state-manager( Issue #432) #565
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
Changes from 1 commit
a0ec478
85db717
90c21d8
fb05217
8c5a070
ece253c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| services: | ||
| exosphere-state-manager: | ||
| build: | ||
| context: ./state-manager | ||
| dockerfile: Dockerfile | ||
| image: exosphere-state-manager:local | ||
| container_name: exosphere-state-manager | ||
| restart: unless-stopped | ||
| environment: | ||
| - MONGO_URI=${MONGO_URI} | ||
| - STATE_MANAGER_SECRET=${STATE_MANAGER_SECRET:-exosphere@123} | ||
| - MONGO_DATABASE_NAME=${MONGO_DATABASE_NAME:-exosphere} | ||
| - SECRETS_ENCRYPTION_KEY=${SECRETS_ENCRYPTION_KEY:-YTzpUlBGLSwm-3yKJRJTZnb0_aQuQQHyz64s8qAERVU=} | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Committing default secrets, even for local development, is a security risk. These secrets could be inadvertently used in other environments. It's recommended to remove the default values. For local development, you can use a - STATE_MANAGER_SECRET=${STATE_MANAGER_SECRET}
- MONGO_DATABASE_NAME=${MONGO_DATABASE_NAME:-exosphere}
- SECRETS_ENCRYPTION_KEY=${SECRETS_ENCRYPTION_KEY}
coderabbitai[bot] marked this conversation as resolved.
Outdated
|
||
| ports: | ||
|
coderabbitai[bot] marked this conversation as resolved.
|
||
| - "8000:8000" | ||
| networks: | ||
| - exosphere-network | ||
| healthcheck: | ||
| test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"] | ||
| interval: 10s | ||
| timeout: 5s | ||
| retries: 5 | ||
| start_period: 30s | ||
|
|
||
| exosphere-dashboard: | ||
| image: ghcr.io/exospherehost/exosphere-dashboard:${EXOSPHERE_TAG:-latest} | ||
| pull_policy: always | ||
| container_name: exosphere-dashboard | ||
| restart: unless-stopped | ||
| environment: | ||
| # Server-side secure configuration (NOT exposed to browser) | ||
| - EXOSPHERE_STATE_MANAGER_URI=${EXOSPHERE_STATE_MANAGER_URI:-http://exosphere-state-manager:8000} | ||
| - EXOSPHERE_API_KEY=${EXOSPHERE_API_KEY:-exosphere@123} | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
coderabbitai[bot] marked this conversation as resolved.
Outdated
|
||
| # Client-side configuration (exposed to browser) | ||
| - NEXT_PUBLIC_DEFAULT_NAMESPACE=${NEXT_PUBLIC_DEFAULT_NAMESPACE:-default} | ||
| depends_on: | ||
| exosphere-state-manager: | ||
| condition: service_healthy | ||
| ports: | ||
| - "3000:3000" | ||
| networks: | ||
| - exosphere-network | ||
| healthcheck: | ||
| test: ["CMD", "node", "-e", "require('http').get('http://localhost:3000', (res) => process.exit(res.statusCode === 200 ? 0 : 1)).on('error', () => process.exit(1))"] | ||
| interval: 10s | ||
| timeout: 5s | ||
| retries: 5 | ||
| start_period: 30s | ||
|
|
||
|
coderabbitai[bot] marked this conversation as resolved.
|
||
| networks: | ||
| exosphere-network: | ||
| driver: bridge | ||
| attachable: true | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| { | ||
| "dependencies": { | ||
| "mongodb": "^7.0.0" | ||
| } | ||
| } |
Uh oh!
There was an error while loading. Please reload this page.