-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
37 lines (34 loc) · 1.5 KB
/
compose.yml
File metadata and controls
37 lines (34 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Storacha Compose - Local Development Environment
#
# This is the root compose file that includes all system components.
# Run with: docker compose up -d
#
# Individual systems can be run standalone from their directories.
# Example: cd systems/blockchain && docker compose up -d
#
# Note: The storacha-network must be created before starting.
# Run `make init` or `./scripts/init.sh` first.
# Pin project name so docker volume names (e.g. `smelt_piri-0-data`) are
# stable across checkouts. Without this, compose derives the project name
# from the current directory's basename — which breaks snapshot portability
# for teammates who clone into differently-named dirs.
name: smelt
include:
- path: systems/blockchain/compose.yml
- path: systems/common/compose.yml
- path: systems/signing-service/compose.yml
- path: systems/delegator/compose.yml
- path: systems/indexing/compose.yml
- path: generated/compose/piri.yml
- path: systems/upload/compose.yml
- path: systems/guppy/compose.yml
networks:
storacha-network:
# `make up` uses the shared external network (created by
# `make init`) so that `cd systems/X && docker compose up` can
# drop into the same network for standalone per-system runs.
# pkg/stack's SDK test path sets SMELT_NETWORK_EXTERNAL=false so
# each test stack gets its own project-scoped network — otherwise
# parallel stacks all collide on the one shared bridge (duplicate
# service DNS names across projects).
external: ${SMELT_NETWORK_EXTERNAL:-true}