Skip to content

Commit

Permalink
Add second aws config (#5029)
Browse files Browse the repository at this point in the history
  • Loading branch information
olivergrabinski authored Jun 12, 2024
1 parent 8f10166 commit e265771
Showing 1 changed file with 177 additions and 0 deletions.
177 changes: 177 additions & 0 deletions infra/delta-aws.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,177 @@
app {
description {
env = "production"
}

database {
read = ${app.defaults.database.access} {
pool-size = 15
}
write = ${app.defaults.database.access} {
pool-size = 15
}
streaming = ${app.defaults.database.access} {
pool-size = 50
}

name = "nexus_user"
username = "nexus_user"
password = ${POSTGRES_PASSWORD}

tables-autocreate = true
}

projections {
batch {
max-elements = 500
}
}

defaults {
database {
access {
host = ${POSTGRES_HOST}
port = 5432
}
}

query {
batch-size = 30
}

pagination {
size-limit = 2000
}

indexing {
prefix = "nexus"
}
}

fusion {
enable-redirects = true
base = "https://nexus-fusion.shapes-registry.org/nexus/web"
}

http {
interface = 0.0.0.0
base-uri = "https://nexus-delta.shapes-registry.org/v1"
}

monitoring {
trace {
sampler = "never"
}
}

projects {
deletion {
enabled = true
}
}
}

plugins {
blazegraph {
enabled = true
base = ${BLAZEGRAPH_ENDPOINT}
batch {
max-elements = 2
}
}

elasticsearch {
enabled = true
base = ${ELASTICSEARCH_ENDPOINT}
credentials {
username = "elastic"
password = ${ELASTICSEARCH_PASSWORD}
}
batch {
max-elements = 10
}
}

composite-views {
enabled = false
elasticsearch-batch {
max-elements = 10
}
blazegraph-batch {
max-elements = 2
}
sink-config = "batch"
min-interval-rebuild = 10 minutes
}

graph-analytics {
enabled = false
batch = {
max-elements = 10
}
}

project-deletion {
enabled = false
}

search {
enabled = false
fields = /opt/search-config/fields.json
indexing {
context = /opt/search-config/search-context.json
mapping = /opt/search-config/mapping.json
settings = /opt/search-config/settings.json
query = /opt/search-config/construct-query.sparql
resource-types = /opt/search-config/resource-types.json
rebuild-strategy = 10 minutes
}
suites = {
sbo = [
"public/forge",
"public/hippocampus",
"public/hippocampus-hub",
"public/multi-vesicular-release",
"public/ngv",
"public/ngv-anatomy",
"public/nvg",
"public/sscx",
"public/thalamus",
"public/topological-sampling",
"bbp/lnmce",
"bbp/mmb-point-neuron-framework-model",
"bbp/ncmv3",
"bbp/hippocampus",
"bbp-external/seu",
"bbp/mouselight"
]
}
}

storage {
enabled = true
storages {
disk {
default-volume = /opt/disk-storage
}
remote-disk {
enabled = false
}
amazon {
enabled = true
use-default-credential-provider = true
default-bucket = "nexus-bucket-production"
prefix = "/sbo/data/project/"
delegation {
private-key = ${DELEGATION_PRIVATE_KEY}
token-duration = "3 days"
}
}
}
}

serivce-account {
realm = "SBO"
subject = "nexus-delta"
}
}

0 comments on commit e265771

Please sign in to comment.