forked from algorand/conduit-cockroachdb
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
37 lines (36 loc) · 943 Bytes
/
docker-compose.yml
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
version: '3.5'
services:
cockroach1:
image: cockroachdb/cockroach:latest
container_name: cockroach1
hostname: roach1
volumes:
- 'roach1:/cockroach/cockroach-data'
ports:
- "26257:26257"
- "8080:8080"
command: "start-single-node --insecure && ./cockroach sql --execute=\"CREATE DATABASE indexer;\" --insecure"
algod:
image: algorand/algod:stable
container_name: algod-testnet
environment:
ADMIN_TOKEN: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
TOKEN: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
PROFILE: "conduit"
NETWORK: "testnet"
ports:
- "4190:8080"
conduit:
build:
context: .
dockerfile: ./Dockerfile
depends_on:
- algod
- cockroach1
volumes:
- './run_data:/data'
network_mode: "host"
restart: on-failure:3
volumes:
roach1:
external: false