-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
45 lines (41 loc) · 1.2 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
version: "3.7"
# ======================================================================================================================
# Volumes - Volumes are the preferred mechanism for persisting data generated by and used by Docker containers.
# You can list them with the command: 'docker volume ls'
volumes:
lnd:
name: lnd
tapd:
name: tapd
# ======================================================================================================================
# Services (Docker images).
services:
# ====================================================================================================================
# LND.
lnd:
build:
context: ./lnd
dockerfile: Dockerfile
hostname: lnd
restart: always
ports:
- "9735:9735"
- "10009:10009"
volumes:
- lnd:/root/.lnd
# ====================================================================================================================
# TARO.
tapd:
build:
context: tapd
dockerfile: Dockerfile
hostname: tapd
restart: always
ports:
- "8089:8089"
- "10029:10029"
volumes:
- lnd:/root/.lnd
- tapd:/root/.tapd
depends_on:
- lnd