forked from anoma/namada
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
43 lines (40 loc) · 975 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
37
38
39
40
41
42
43
---
version: "3.9"
x-common-env: &cenv
CHAIN_ID: shielded-expedition.88f17d1d14
NAMADA_BASE_DIR: /home/namada/
NAMADA_LOG: info
CMT_LOG_LEVEL: p2p:none,pex:error
NAMADA_CMT_STDOUT: true
services:
namada-init:
container_name: namada-init
image: ghcr.io/anoma/namada:namada-v0.31.6
command: client utils join-network --chain-id shielded-expedition.88f17d1d14
environment:
<<: *cenv
network_mode: "host"
volumes:
- namada_data:/home/namada/
namada-node:
container_name: namada-node
image: ghcr.io/anoma/namada:namada-v0.31.6
#build:
# context: .
# dockerfile: docker/namada/Dockerfile
command: node ledger run
# restart: always
environment:
<<: *cenv
network_mode: "host"
volumes:
- namada_data:/home/namada/
depends_on:
- namada-init
volumes:
namada_data:
driver: local
driver_opts:
type: none
o: bind
device: ./volumes/namada_data