File tree 3 files changed +96
-7
lines changed
3 files changed +96
-7
lines changed Original file line number Diff line number Diff line change 3
3
export TYPEORM_CONNECTION=postgres
4
4
export TYPEORM_HOST=localhost
5
5
export TYPEORM_USERNAME=terra
6
- export TYPEORM_PASSWORD=terra
7
- export TYPEORM_DATABASE=terra_fcd
6
+ export TYPEORM_PASSWORD=abc123
7
+ export TYPEORM_DATABASE=fcd
8
8
export TYPEORM_PORT=5432
9
9
export TYPEORM_SYNCHRONIZE=false
10
10
export TYPEORM_LOGGING=false
11
11
export TYPEORM_ENTITIES=src/orm/*Entity.ts
12
12
export TYPEORM_MIGRATIONS=src/orm/migration/*.ts
13
13
14
14
export SERVER_PORT=3060
15
- export CHAIN_ID=tequila-0004
16
- export LCD_URI=https ://tequila-lcd.terra.dev
17
- export FCD_URI=https ://tequila-fcd.terra.dev
18
- export RPC_URI=
15
+ export CHAIN_ID=localterra
16
+ export LCD_URI=http ://localhost:1317
17
+ export FCD_URI=http ://localhost:3060
18
+ export RPC_URI=http://localhost:26657
19
19
export SENTRY_DSN=
20
20
#export USE_LOG_FILE=true
Original file line number Diff line number Diff line change
1
+ version : " 3.8"
2
+
3
+ x-fcd-env : &fcd-env
4
+ - CHAIN_ID=localterra
5
+ - LCD_URI=http://terrad:1317
6
+ - RPC_URI=http://terrad:26657
7
+ - USE_LOG_FILE=true
8
+ - TYPEORM_CONNECTION=postgres
9
+ - TYPEORM_HOST=postgres
10
+ - TYPEORM_USERNAME=terra
11
+ - TYPEORM_PASSWORD=abc123
12
+ - TYPEORM_DATABASE=fcd
13
+ - TYPEORM_SYNCHRONIZE=true
14
+ - TYPEORM_LOGGING=false
15
+ - TYPEORM_ENTITIES=src/orm/*Entity.ts
16
+ - LEGACY_NETWORK=false
17
+
18
+ services :
19
+ fcd-collector :
20
+ build :
21
+ context : .
22
+ dockerfile : Dockerfile
23
+ args :
24
+ TERRA_VERSION : ${TERRA_VERSION}
25
+ image : ghcr.io/terra-money/fcd:${TERRA_VERSION}
26
+ container_name : localterra-fcd-collector
27
+ hostname : fcd-collector
28
+ command : collector
29
+ restart : unless-stopped
30
+ environment : *fcd-env
31
+ volumes :
32
+ - ./logs:/app/logs
33
+ networks :
34
+ - localterra
35
+
36
+ fcd-api :
37
+ build :
38
+ context : .
39
+ dockerfile : Dockerfile
40
+ args :
41
+ TERRA_VERSION : ${TERRA_VERSION}
42
+ image : ghcr.io/terra-money/fcd:${TERRA_VERSION}
43
+ container_name : localterra-fcd-api
44
+ hostname : fcd-api
45
+ command : start
46
+ environment : *fcd-env
47
+ volumes :
48
+ - ./logs:/app/logs
49
+ networks :
50
+ - localterra
51
+ ports :
52
+ - 3060:3060
53
+
54
+ terrad :
55
+ image : ghcr.io/terra-money/localterra:${TERRA_VERSION}
56
+ container_name : localterra-terrad
57
+ hostname : terrad
58
+ pull_policy : always
59
+ volumes :
60
+ - localterra:/app
61
+ networks :
62
+ - localterra
63
+ ports :
64
+ - " 1317:1317"
65
+ - " 9090:9090"
66
+ - " 9091:9091"
67
+ - " 26657:26657"
68
+
69
+ postgres :
70
+ image : postgres:14-alpine
71
+ container_name : localterra-postgres
72
+ hostname : postgres
73
+ environment :
74
+ POSTGRES_USER : terra
75
+ POSTGRES_PASSWORD : abc123
76
+ volumes :
77
+ - ./initdb.d:/docker-entrypoint-initdb.d
78
+ - pgdata:/var/lib/postgresql/data
79
+ networks :
80
+ - localterra
81
+ ports :
82
+ - 5433:5432
83
+
84
+ volumes :
85
+ localterra :
86
+ pgdata :
87
+
88
+ networks :
89
+ localterra :
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " fcd" ,
3
- "version" : " 2.0.6 " ,
3
+ "version" : " 2.3.1 " ,
4
4
"description" : " Terra FCD Suite" ,
5
5
"main" : " index.js" ,
6
6
"author" : " Terra Engineering <engineering@terra.money>" ,
You can’t perform that action at this time.
0 commit comments