forked from open-telemetry/opentelemetry-demo
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[postgres] Define and use image for postgres (open-telemetry#1338)
* define and use postgres image Signed-off-by: Pierre Tessier <pierre@pierretessier.com> * define and use postgres image Signed-off-by: Pierre Tessier <pierre@pierretessier.com> * define and use postgres image Signed-off-by: Pierre Tessier <pierre@pierretessier.com> * add postgres image Signed-off-by: Pierre Tessier <pierre@pierretessier.com> --------- Signed-off-by: Pierre Tessier <pierre@pierretessier.com> Co-authored-by: Juliano Costa <julianocosta89@outlook.com>
- Loading branch information
1 parent
1d3a8de
commit a9008fa
Showing
7 changed files
with
39 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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 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 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 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,10 @@ | ||
# Copyright The OpenTelemetry Authors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
FROM postgres:16.1-alpine | ||
|
||
COPY ./src/ffspostgres/init-scripts/ /docker-entrypoint-initdb.d/ | ||
|
||
EXPOSE 5432 | ||
ENTRYPOINT ["docker-entrypoint.sh"] | ||
CMD ["postgres"] |
File renamed without changes.
This file contains 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 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,12 @@ | ||
-- Copyright The OpenTelemetry Authors | ||
-- SPDX-License-Identifier: Apache-2.0 | ||
|
||
-- Feature Flags updated for startup | ||
-- 'enabled' is a decimal value between 0 and 1 (inclusive) | ||
-- 0.0 is always disabled | ||
-- 1.0 is always enabled | ||
-- All values between set a percentage chance on each request | ||
-- example: 0.55 is enabled 55% of the time | ||
|
||
-- UPDATE public.featureflags SET enabled = 0.55 WHERE name = 'cartServiceFailure'; | ||
|