-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlyra.yaml
More file actions
39 lines (35 loc) · 812 Bytes
/
lyra.yaml
File metadata and controls
39 lines (35 loc) · 812 Bytes
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
---
version: '3.2'
services:
lyra.node:
image: lyranode:${VERSION}
container_name : lyra.node
depends_on:
- mongodb
build:
context: .
dockerfile: Dockerfile.asp.net
args:
LYRA_VERSION: ${VERSION}
ports:
- 4503:4503
- 4504:4504
- 4505:4505
links:
- mongodb
volumes:
- ./.Lyra:/root/.Lyra
- ./config.testnet.json:/opt/lyra/node/config.testnet.json
mongodb:
image: mongo:4.2.3-bionic
container_name: mongodb
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: password
MONGO_INITDB_DATABASE: admin
ports:
- 27017:27017
volumes:
- ./mongodb:/data/db
- ./mongo-init.js:/docker-entrypoint-initdb.d/mongo-init.js:ro