-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (40 loc) · 1.21 KB
/
docker-compose.yml
File metadata and controls
43 lines (40 loc) · 1.21 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
38
39
40
41
42
43
services:
# Local Stellar + Soroban RPC node (testnet-equivalent)
stellar-testnet:
image: stellar/quickstart:latest
command: ["--local"]
ports:
- "8000:8000"
healthcheck:
test: ["CMD", "sh", "-c", "wget -qO- http://localhost:8000/ >/dev/null 2>&1"]
interval: 5s
timeout: 3s
retries: 30
# Dedicated Soroban RPC endpoint (useful when separating horizon from rpc traffic)
soroban-rpc:
image: stellar/quickstart:latest
command: ["--local"]
ports:
- "8001:8000"
depends_on:
stellar-testnet:
condition: service_healthy
# StarForge CLI dev container — mounts the project root for live `cargo run`
# Usage: docker-compose run --rm starforge starforge <command>
# Example: docker-compose run --rm starforge starforge deploy --wasm ./token.wasm --network docker-testnet
starforge:
build:
context: .
dockerfile: Dockerfile
volumes:
- .:/workspace
- cargo-cache:/usr/local/cargo/registry
environment:
- NEXT_PUBLIC_STELLAR_RPC_URL=http://soroban-rpc:8000
- STELLAR_NETWORK=local
depends_on:
stellar-testnet:
condition: service_healthy
working_dir: /workspace
volumes:
cargo-cache: