forked from solana-foundation/kora
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (33 loc) · 781 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (33 loc) · 781 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
34
35
services:
redis:
image: redis:8-alpine
ports:
- "6379:6379"
volumes:
- redis_data:/data
- ./redis.conf:/usr/local/etc/redis/redis.conf:ro
restart: unless-stopped
command: redis-server /usr/local/etc/redis/redis.conf
kora:
build:
context: .
dockerfile: Dockerfile
ports:
- "8080:8080"
volumes:
- ./kora.toml:/app/kora.toml
- ./signers.toml:/app/signers.toml
- ./.env:/app/.env:ro
environment:
- RUST_LOG=info
env_file:
- .env
command:
- sh
- -c
- "kora --config /app/kora.toml --rpc-url ${RPC_URL:-http://127.0.0.1:8899} rpc start --signers-config /app/signers.toml"
restart: unless-stopped
depends_on:
- redis
volumes:
redis_data: