Changeset View
Changeset View
Standalone View
Standalone View
swh/provenance/cli.py
Show All 36 Lines | "provenance": { | ||||
"db": { | "db": { | ||||
"host": "db.internal.softwareheritage.org", | "host": "db.internal.softwareheritage.org", | ||||
"dbname": "softwareheritage", | "dbname": "softwareheritage", | ||||
"user": "guest", | "user": "guest", | ||||
}, | }, | ||||
}, | }, | ||||
"storage": { | "storage": { | ||||
# Local PostgreSQL Storage | # Local PostgreSQL Storage | ||||
# "cls": "postgresql", | |||||
# "db": { | |||||
# "host": "localhost", | |||||
# "user": "postgres", | |||||
# "password": "postgres", | |||||
# "dbname": "provenance", | |||||
# }, | |||||
# Local MongoDB Storage | |||||
# "cls": "mongodb", | |||||
# "db": { | |||||
# "dbname": "provenance", | |||||
# }, | |||||
# Remote RabbitMQ/PostgreSQL Storage | |||||
"cls": "rabbitmq", | |||||
"url": "amqp://localhost:5672/%2f", | |||||
"storage_config": { | |||||
"cls": "postgresql", | "cls": "postgresql", | ||||
"db": { | "db": { | ||||
"host": "localhost", | "host": "localhost", | ||||
"user": "postgres", | "user": "postgres", | ||||
"password": "postgres", | "password": "postgres", | ||||
"dbname": "provenance", | "dbname": "provenance", | ||||
}, | }, | ||||
# Local MongoDB Storage | }, | ||||
# "cls": "mongodb", | |||||
# "db": { | |||||
# "dbname": "provenance", | |||||
# }, | |||||
# Remote RPC-API/PostgreSQL | # Remote RPC-API/PostgreSQL | ||||
# "cls": "rpcapi", | # "cls": "rpcapi", | ||||
# "url": "http://localhost:8080/%2f", | # "url": "http://localhost:8080/%2f", | ||||
}, | }, | ||||
} | } | ||||
} | } | ||||
▲ Show 20 Lines • Show All 181 Lines • Show Last 20 Lines |