Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8396307
docker-compose.storage-replica.yml
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
docker-compose.storage-replica.yml
View Options
version
:
'2'
services
:
# override web app to use the replica
swh-web
:
environment
:
SWH_CONFIG_FILENAME
:
/web-replica.yml
volumes
:
-
"./conf/web-replica.yml:/web-replica.yml:ro"
# create a dedicated db for the replica
swh-storage-replica-db
:
image
:
postgres:11
env_file
:
-
./env/storage-db-replica.env
environment
:
# unset PGHOST as db service crashes otherwise
PGHOST
:
# and an RPC server
swh-storage-replica
:
image
:
swh/stack
build
:
./
depends_on
:
-
swh-storage-replica-db
-
swh-objstorage
env_file
:
-
./env/storage-db-replica.env
environment
:
SWH_CONFIG_FILENAME
:
/storage-replica.yml
entrypoint
:
/entrypoint.sh
volumes
:
-
"./conf/storage-replica.yml:/storage-replica.yml:ro"
-
"./services/swh-storage/entrypoint.sh:/entrypoint.sh:ro"
# and the background process that keeps the replica in sync with the
# main graph
swh-storage-replica-replayer
:
image
:
swh/stack
build
:
./
depends_on
:
-
swh-storage-replica-db
-
swh-objstorage
env_file
:
-
./env/storage-db-replica.env
environment
:
SWH_CONFIG_FILENAME
:
/storage-replica.yml
entrypoint
:
/entrypoint.sh
volumes
:
-
"./conf/storage-replica.yml:/storage-replica.yml:ro"
-
"./services/swh-storage-replayer/entrypoint.sh:/entrypoint.sh:ro"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jun 4 2025, 7:52 PM (12 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3399404
Attached To
rDENV Development environment
Event Timeline
Log In to Comment