Changeset View
Changeset View
Standalone View
Standalone View
data/hostname/storage0.internal.staging.swh.network.yaml
Show All 28 Lines | |||||
# Deploy the indexer storage server as a public resource | # Deploy the indexer storage server as a public resource | ||||
swh::deploy::indexer::storage::backend::listen::host: 0.0.0.0 | swh::deploy::indexer::storage::backend::listen::host: 0.0.0.0 | ||||
swh::deploy::indexer::storage::backend::workers: 4 | swh::deploy::indexer::storage::backend::workers: 4 | ||||
nginx::worker_processes: 4 | nginx::worker_processes: 4 | ||||
swh::deploy::storage::config: | swh::deploy::storage::config: | ||||
storage: | storage: | ||||
cls: local | cls: pipeline | ||||
args: | steps: | ||||
- cls: validate | |||||
- cls: local | |||||
db: "host=%{hiera('swh::deploy::storage::db::host')} port=%{hiera('swh::deploy::storage::db::port')} user=%{hiera('swh::deploy::storage::db::user')} dbname=%{hiera('swh::deploy::storage::db::dbname')} password=%{hiera('swh::deploy::storage::db::password')}" | db: "host=%{hiera('swh::deploy::storage::db::host')} port=%{hiera('swh::deploy::storage::db::port')} user=%{hiera('swh::deploy::storage::db::user')} dbname=%{hiera('swh::deploy::storage::db::dbname')} password=%{hiera('swh::deploy::storage::db::password')}" | ||||
objstorage: "%{alias('swh::remote_service::objstorage::config')}" | objstorage: "%{alias('swh::remote_service::objstorage::config')}" | ||||
journal_writer: | journal_writer: | ||||
cls: kafka | cls: kafka | ||||
args: | args: | ||||
brokers: "%{alias('swh::deploy::journal::brokers')}" | brokers: "%{alias('swh::deploy::journal::brokers')}" | ||||
prefix: "%{alias('swh::deploy::journal::prefix')}" | prefix: "%{alias('swh::deploy::journal::prefix')}" | ||||
client_id: "swh.storage.journal_writer.%{::swh_hostname.short}" | client_id: "swh.storage.journal_writer.%{::swh_hostname.short}" | ||||
producer_config: | producer_config: | ||||
message.max.bytes: 1000000000 | message.max.bytes: 1000000000 |