-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
56 lines (53 loc) · 1.42 KB
/
Copy pathdocker-compose.yml
File metadata and controls
56 lines (53 loc) · 1.42 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
version: '3'
services:
algod:
container_name: "algorand-sandbox-algod"
build:
context: .
dockerfile: ./images/algod/Dockerfile
args:
CHANNEL: "nightly"
URL: ""
BRANCH: ""
SHA: ""
BOOTSTRAP_URL: ""
GENESIS_FILE: ""
TEMPLATE: "${NETWORK_TEMPLATE:-/tmp/images/algod/template.json}"
TOKEN: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
ALGOD_PORT: "4001"
KMD_PORT: "4002"
ports:
- 4001:4001
- 4002:4002
indexer:
container_name: "algorand-sandbox-indexer"
build:
context: .
dockerfile: ./images/indexer/Dockerfile
args:
URL: "https://github.com/algorand/indexer"
BRANCH: "develop"
SHA: ""
ports:
- 8980:8980
restart: unless-stopped
environment:
DISABLED: ""
PORT: "8980"
SNAPSHOT: ""
CONNECTION_STRING: "host=indexer-db port=5432 user=algorand password=algorand dbname=indexer_db sslmode=disable"
ALGOD_ADDR: "algod:4001"
ALGOD_TOKEN: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
depends_on:
- indexer-db
- algod
indexer-db:
image: "postgres:13-alpine"
container_name: "algorand-sandbox-postgres"
ports:
- 5433:5432
user: postgres
environment:
POSTGRES_USER: algorand
POSTGRES_PASSWORD: algorand
POSTGRES_DB: indexer_db