-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 (#1338)
* define and use postgres image Signed-off-by: Pierre Tessier <[email protected]> * define and use postgres image Signed-off-by: Pierre Tessier <[email protected]> * define and use postgres image Signed-off-by: Pierre Tessier <[email protected]> * add postgres image Signed-off-by: Pierre Tessier <[email protected]> --------- Signed-off-by: Pierre Tessier <[email protected]> Co-authored-by: Juliano Costa <[email protected]>
- Loading branch information
1 parent
0d9cf78
commit 9ed7785
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'; | ||
|