Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9123051
docker-compose.storage-mirror.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-mirror.yml
View Options
version
:
"2.1"
services
:
# override web app to use the mirror
swh-web
:
environment
:
SWH_CONFIG_FILENAME
:
/web-mirror.yml
volumes
:
-
"./conf/web-mirror.yml:/web-mirror.yml:ro"
# create a dedicated db for the mirror
swh-storage-mirror-db
:
image
:
postgres:12
env_file
:
-
./env/storage-db-mirror.env
environment
:
# unset PGHOST as db service crashes otherwise
PGHOST
:
# unset POSTGRES_DB: we're handling db creation ourselves in the backend
# service entrypoint
POSTGRES_DB
:
# and an RPC server
swh-storage-mirror
:
image
:
swh/stack
build
:
./
depends_on
:
-
swh-storage-mirror-db
-
swh-objstorage
env_file
:
-
./env/storage-db-mirror.env
environment
:
SWH_CONFIG_FILENAME
:
/storage-mirror.yml
entrypoint
:
/entrypoint.sh
volumes
:
-
"./conf/storage-mirror.yml:/storage-mirror.yml:ro"
-
"./services/swh-storage/entrypoint.sh:/entrypoint.sh:ro"
# and the background process that keeps the mirror in sync with the
# main graph
swh-storage-mirror-replayer
:
image
:
swh/stack
build
:
./
depends_on
:
-
swh-storage-mirror-db
-
swh-objstorage
env_file
:
-
./env/storage-db-mirror.env
environment
:
SWH_CONFIG_FILENAME
:
/storage-mirror.yml
entrypoint
:
/entrypoint.sh
volumes
:
-
"./conf/storage-mirror.yml:/storage-mirror.yml:ro"
-
"./services/swh-storage-replayer/entrypoint.sh:/entrypoint.sh:ro"
swh-journal-backfiller
:
image
:
swh/stack
build
:
./
entrypoint
:
/entrypoint.sh
environment
:
SWH_CONFIG_FILENAME
:
/storage-mirror-backfiller.yml
env_file
:
-
./env/storage-db.env
depends_on
:
-
swh-storage-db
-
kafka
volumes
:
-
"./conf/storage-mirror-backfiller.yml:/storage-mirror-backfiller.yml:ro"
-
"./services/swh-journal-backfiller/entrypoint.sh:/entrypoint.sh:ro"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jun 21, 5:01 PM (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3238668
Attached To
rDENV Development environment
Event Timeline
Log In to Comment