-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
82 lines (78 loc) · 2.17 KB
/
docker-compose.yml
File metadata and controls
82 lines (78 loc) · 2.17 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
version: '3'
services:
db:
image: swipetech/stellar-postgres
ports:
- '5433:5432'
environment:
POSTGRES_USER: 'postgres'
STELLAR_DB_USER: 'stellar'
STELLAR_DB_PASSWORD: 'password'
core:
image: swipetech/stellar-core
ports:
- '11625:11625'
- '11626:11626'
depends_on:
- db
volumes:
- ./data:/data
environment:
FORCE_SCP: "true"
DB_USER: "stellar"
DB_PASS: "password"
DB_NAME: "core"
DB_HOST: "db"
DB_PORT: "5432"
PUBLIC_HTTP_PORT: "true"
KNOWN_CURSORS: "HORIZON"
DATA_DIR: "/data"
NETWORK_PASSPHRASE: "My Private Network ; January 2019"
NODE_SEED: "SCWEI4M3A4EMXM7ESYDSCYXHHBF625MPMJFSUDWGEU2EVFLOUJCACVIC"
RUN_STANDALONE: "true"
NODE_IS_VALIDATOR: "true"
DATABASE: 'postgresql://dbname=core host=db port=5432 user=stellar password=password'
UNSAFE_QUORUM: "true"
FAILURE_SAFETY: "0"
LOG_FILE_PATH: "" # Sends logs to stdout
COMMANDS: "ll?level=info"
QUORUM_SET: >
[
{
"threshold_percent": 100,
"validators": ["GCBQ7NAX34VN32QMOEORTBRPYZJJYU3VE75XGDO4JRY4YV4HY2FUPQ73"]
}
]
HISTORY: >
{
"h1": {
"get": "cp /tmp/stellar-core/history/vs/{0} {1}",
"put": "cp {0} /tmp/stellar-core/history/vs/{1}",
"mkdir": "mkdir -p /tmp/stellar-core/history/vs/{0}"
}
}
horizon:
image: swipetech/stellar-horizon
ports:
- '8000:8000'
depends_on:
- db
- core
volumes:
- ./data:/data
environment:
DB_USER: "stellar"
DB_PASS: "password"
DB_NAME: "horizon"
DB_HOST: "db"
DB_PORT: "5432"
DATA_DIR: "/data"
HISTORY_RETENTION_COUNT: "100000"
PORT: "8000"
DATABASE_URL: "postgres://stellar:password@db:5432/horizon?sslmode=disable"
STELLAR_CORE_DATABASE_URL: "postgres://stellar:password@db:5432/core?sslmode=disable"
STELLAR_CORE_URL: "http://core:11626"
LOG_LEVEL: "info"
INGEST: "true"
PER_HOUR_RATE_LIMIT: "100000000"
NETWORK_PASSPHRASE: "My own private network ; January 2019"