-
Notifications
You must be signed in to change notification settings - Fork 59
Add worker-monitor service to Docker Compose files #127
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 all commits
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 |
|---|---|---|
|
|
@@ -139,6 +139,17 @@ services: | |
| - ${HOST_APP_PORT:-3000}:${APP_PORT:-8080} | ||
| environment: | ||
| <<: [*shared-env, *frontend-env] | ||
| worker-monitor: | ||
| container_name: marble-worker-monitor | ||
| image: ghcr.io/riverqueue/riverui:latest | ||
| ports: | ||
| - ${WORKER_MONITOR_PORT:-8081}:8080 | ||
| environment: | ||
| DATABASE_URL: "postgresql://postgres:${PG_PASSWORD:-changeme}@db:${PG_PORT:-5432}/marble" | ||
| RIVER_BASIC_AUTH_USER: ${RIVER_BASIC_AUTH_USER:-} | ||
|
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. if we expose those configuration variables (also WORKER_MONITOR_PORT above), we should define and document them in the .env.example file. If I'm not getting this backwards (honestly it's tricky to remember), only env vars interpolated from the .env file are used in those |
||
| RIVER_BASIC_AUTH_PASS: ${RIVER_BASIC_AUTH_PASS:-} | ||
| depends_on: | ||
| - db | ||
|
|
||
| # NB: the docker compose file includes an elasticsearch image for the sake of completeness, but we strongly | ||
| # suggest using a production-grade instance to run Marble in a production environment | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering if we should recommend installation of this tool in a prod environment. Do you see any security risks @apognu ?