forked from Hahfyeex/Stellar-PolyMarket
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (30 loc) · 823 Bytes
/
docker-compose.yml
File metadata and controls
33 lines (30 loc) · 823 Bytes
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
version: '3.8'
services:
stellar-quickstart:
image: stellar/quickstart:testing
container_name: stellar-quickstart
# --local runs a standalone network. --enable-soroban-rpc turns on the Soroban RPC server.
command: --local --enable-soroban-rpc
ports:
- "8000:8000" # Horizon API
- "8001:8001" # Soroban RPC
volumes:
- stellar-data:/opt/stellar/postgresql/data
redis:
image: redis:7-alpine
container_name: stellar-polymarket-redis
ports:
- "6379:6379"
volumes:
- redis-data:/data
command: redis-server --appendonly yes
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 3s
retries: 3
volumes:
stellar-data:
name: stellar_polymarket_data
redis-data:
name: stellar_polymarket_redis_data