-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
28 lines (27 loc) · 881 Bytes
/
docker-compose.yml
File metadata and controls
28 lines (27 loc) · 881 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
version: '3.8'
services:
remote-signer:
build: .
container_name: stellar-php-remote-signer
ports:
- "5003:5003"
environment:
- HOST=0.0.0.0
- PORT=5003
- ACCOUNT_ID=${ACCOUNT_ID}
- SECRET=${SECRET}
- NETWORK_PASSPHRASE=${NETWORK_PASSPHRASE:-Test SDF Network ; September 2015}
- BEARER_TOKEN=${BEARER_TOKEN:-987654321}
- SOROBAN_RPC_URL=${SOROBAN_RPC_URL:-https://soroban-testnet.stellar.org}
volumes:
# Optional: mount config file instead of using environment variables
# - ./config.json:/app/config.json:ro
# Optional: mount logs directory
# - ./logs:/app/logs
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:5003/health"]
interval: 30s
timeout: 3s
retries: 3
start_period: 5s