forked from StellaBridge/Bridge-Watch
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.sandbox.yml
More file actions
40 lines (36 loc) · 1.08 KB
/
Copy pathdocker-compose.sandbox.yml
File metadata and controls
40 lines (36 loc) · 1.08 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
version: "3.8"
# Local Soroban Sandbox Environment for Contract Development
# Usage: docker compose -f docker-compose.sandbox.yml up -d
# Or: npm run sandbox:start
networks:
bridge-watch-sandbox:
driver: bridge
services:
# ---------------------------------------------------------------------------
# Stellar Quickstart — Local Soroban Network
# ---------------------------------------------------------------------------
soroban-sandbox:
image: stellar/quickstart:soroban-dev
container_name: bridge-watch-soroban-sandbox
restart: unless-stopped
command: >
--standalone
--enable-soroban-rpc
ports:
# Bind to localhost only for security
- "127.0.0.1:8000:8000"
environment:
- NETWORK=standalone
- ENABLE_SOROBAN_RPC=true
volumes:
- soroban_sandbox_data:/opt/stellar
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:8000 || exit 1"]
interval: 10s
timeout: 5s
retries: 12
start_period: 30s
networks:
- bridge-watch-sandbox
volumes:
soroban_sandbox_data: