-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
31 lines (29 loc) · 1.01 KB
/
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
# Copyright © 2020 Interplanetary Database Association e.V.,
# Planetmint and IPDB software contributors.
# SPDX-License-Identifier: (AGPL-3.0-or-later AND CC-BY-4.0)
# Code is AGPL-3.0-or-later and docs are CC-BY-4.0
version: '2.2'
#! still requires a valid Planetmint image to be published
# until then the environment can be initialized locally by using https://github.com/planetmint/planetmint/blob/main/docker-compose.yml
services:
planetmint:
image: ghcr.io/planetmint/planetmint-aio:latest
ports:
- "9984:9984"
- "9985:9985"
- "26656:26656"
- "26657:26657"
- "26660:26660"
command:
- /bin/bash
- -c
- |
/etc/init.d/tarantool start
tendermint init
tendermint node --consensus.create_empty_blocks = false --rpc.laddr=tcp://0.0.0.0:26657&
planetmint start
healthcheck:
test: ["CMD", "bash", "-c", "curl http://planetmint:9984 && curl http://planetmint:26657/abci_query"]
interval: 3s
timeout: 5s
retries: 5