-
Notifications
You must be signed in to change notification settings - Fork 19
assume host mode for postgres short ports #1445
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
base: main
Are you sure you want to change the base?
Changes from 2 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 |
---|---|---|
|
@@ -20,6 +20,16 @@ services: | |
networks: | ||
default: null | ||
x-defang-postgres: null | ||
short-ports: | ||
image: postgres | ||
networks: | ||
default: null | ||
ports: | ||
- mode: ingress | ||
target: 5432 | ||
published: "5432" | ||
protocol: tcp | ||
Comment on lines
+28
to
+31
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. @lionello should this include the fixup or not? |
||
x-defang-postgres: null | ||
with-ext: | ||
image: postgres | ||
networks: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
! service "no-ext": stateful service will lose data on restart; use a managed service instead | ||
! service "no-ports": missing memory reservation; using provider-specific defaults. Specify deploy.resources.reservations.memory to avoid out-of-memory errors | ||
! service "no-ports-override": missing memory reservation; using provider-specific defaults. Specify deploy.resources.reservations.memory to avoid out-of-memory errors | ||
! service "short-ports": ingress port without healthcheck defaults to GET / HTTP/1.1 | ||
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. this warning is shown because the fixup happens too late 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. Afaict this test doesn't consider fixup |
||
! service "short-ports": missing memory reservation; using provider-specific defaults. Specify deploy.resources.reservations.memory to avoid out-of-memory errors | ||
! service "with-ext": missing memory reservation; using provider-specific defaults. Specify deploy.resources.reservations.memory to avoid out-of-memory errors | ||
! service "wrong-image": managed Postgres service should use a postgres image | ||
! service "wrong-image": missing memory reservation; using provider-specific defaults. Specify deploy.resources.reservations.memory to avoid out-of-memory errors |
Uh oh!
There was an error while loading. Please reload this page.