-
Notifications
You must be signed in to change notification settings - Fork 448
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the examples based on the suggestions provided. Use an externa…
…l database whenever possible, and ensure all information is passed securely using secrets.
- Loading branch information
Showing
6 changed files
with
55 additions
and
28 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
examples/jfrog-platform/HA-with-distribution-S3/binarystore.xml
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,22 @@ | ||
<config version="2"> | ||
<chain> | ||
<provider id="cache-fs" type="cache-fs"> | ||
<provider id="s3-storage-v3" type="s3-storage-v3"/> | ||
</provider> | ||
</chain> | ||
<provider id="s3-storage-v3" type="s3-storage-v3"> | ||
<endpoint>s3.amazonaws.com</endpoint> | ||
<bucketName>bucketName</bucketName> | ||
<path>pathPrefix</path> | ||
<region>s3Region</region> | ||
<identity>yourIdentity</identity> | ||
<credential>yourCredentials</credential> | ||
<usePresigning>true</usePresigning> | ||
<signatureExpirySeconds>600</signatureExpirySeconds> | ||
<maxConnections>50</maxConnections> | ||
<connectionTimeout>10000</connectionTimeout> | ||
</provider> | ||
<provider type="cache-fs" id="cache-fs"> | ||
<maxCacheSize>5000000000</maxCacheSize> | ||
</provider> | ||
</config> |
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
16 changes: 16 additions & 0 deletions
16
examples/jfrog-platform/HA-with-distribution-S3/values-distribution.yaml
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,16 @@ | ||
distribution: | ||
postgresql: | ||
enabled: false | ||
database: | ||
type: "postgresql" | ||
driver: org.postgresql.Driver | ||
secrets: | ||
user: | ||
name: "my-distribution-database" | ||
key: "db-user" | ||
password: | ||
name: "my-distribution-database" | ||
key: "db-password" | ||
url: | ||
name: "my-distribution-database" | ||
key: "db-url" |
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
File renamed without changes.