-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (45 loc) · 1.04 KB
/
docker-compose.yml
File metadata and controls
48 lines (45 loc) · 1.04 KB
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
46
47
# version: '3'
# services:
# nginx:
# build:
# context: ./nginx
# dockerfile: Dockerfile
# ports:
# - 4000:4000
# depends_on:
# - ledger_server1
# - ledger_server2
# ledger_server1:
# container_name: ledger1_container
# image: ledger
# environment:
# PORT: 4001
# ENV: development
# API_ACCESS_KEY: mexu
# DB_HOST: 192.168.1.64
# DB_PORT: 3306
# DB_NAME: ledger1
# DB_USERNAME: root
# DB_PASSWORD: ''
# SERVER_ID: ls1
# BROKER_1: 192.168.1.64:9092
# BROKER_2: 192.168.1.64:9093
# ports:
# - 4001:4001
# ledger_server2:
# container_name: ledger2_container
# image: ledger
# environment:
# PORT: 4001
# ENV: development
# API_ACCESS_KEY: mexu
# DB_HOST: 192.168.1.64
# DB_PORT: 3306
# DB_NAME: ledger2
# DB_USERNAME: root
# DB_PASSWORD: ''
# SERVER_ID: ls2
# BROKER_1: 192.168.1.64:9092
# BROKER_2: 192.168.1.64:9093
# ports:
# - 4002:4001