-
Notifications
You must be signed in to change notification settings - Fork 3
/
.env.IntegrationTest
98 lines (84 loc) · 2.72 KB
/
.env.IntegrationTest
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
## Main variables
LOG=INFO
NETWORK=devkit
PROTOCOL_MAGIC=42
## Postgres image
DB_IMAGE_NAME=postgres
DB_IMAGE_TAG=latest
## Yaci image
YACI_VERSION=0.0.20-beta1
## Postgres variables
DB_NAME=rosetta-java
DB_USER=rosetta_db_admin
DB_SECRET=weakpwd#123_d
DB_HOST=db
# Service name in docker-compose or local db
DB_PORT=5432
DB_SCHEMA=${NETWORK}
DB_PATH=data
UPDATE_GENESIS_BLOCK_QUERY="UPDATE devkit.block SET number = 0 WHERE number = -1; UPDATE devkit.block SET prev_hash = 'Genesis' WHERE number = 1"
## Cardano Node variables
CARDANO_NODE_HOST=yaci-cli
# Service name in docker-compose or local cardano node
CARDANO_NODE_PORT=3001
# Uncomment if you are using local cardano node
CARDANO_NODE_SUBMIT_HOST=yaci-cli
NODE_SUBMIT_API_PORT=8090
CARDANO_NODE_VERSION=0.0.0
CARDANO_NODE_DIR=/Users/thkammer/Documents/dev/cardano/cardano-rosetta-java/node
CARDANO_NODE_SOCKET_PATH=${CARDANO_NODE_DIR}/node.socket
CARDANO_NODE_DB=${CARDANO_NODE_DIR}/db
CARDANO_CONFIG=./config/${NETWORK}
MITHRIL_SYNC=true
SNAPSHOT_DIGEST=latest
# if not set standard values will be used
AGGREGATOR_ENDPOINT=
# if not set standard values will be used
GENESIS_VERIFICATION_KEY=
## Api env
API_DOCKER_IMAGE_TAG=main
API_SPRING_PROFILES_ACTIVE=online
# staging, h2, test. Additional profiles: mempool (if mempool should be activated)
API_PORT=8082
PRINT_EXCEPTION=true
ROSETTA_VERSION=1.4.13
TOPOLOGY_FILEPATH=/config/topology.json
GENESIS_SHELLEY_PATH=/config/shelley-genesis.json
GENESIS_BYRON_PATH=/config/byron-genesis.json
GENESIS_ALONZO_PATH=/config/alonzo-genesis.json
GENESIS_CONWAY_PATH=/config/conway-genesis.json
SEARCH_PAGE_SIZE=100
## Yaci Indexer env
INDEXER_DOCKER_IMAGE_TAG=main
PRUNING_ENABLED=false
YACI_SPRING_PROFILES=postgres,n2c-socat
# database profiles: h2, h2-testData, postgres
MEMPOOL_ENABLED=false
## Ports
HOST_N2N_PORT=${CARDANO_NODE_PORT}
HOST_SUBMIT_API_PORT=${NODE_SUBMIT_API_PORT}
HOST_N2C_SOCAT_PORT=3333
HOST_N2C_SOCAT_HOST=${CARDANO_NODE_HOST}
HOST_STORE_API_PORT=8080
HOST_CLUSTER_API_PORT=10000
HOST_OGMIOS_PORT=1337
HOST_KUPO_PORT=1442
HOST_VIEWER_PORT=5173
## Devkit env
DEVKIT_ENABLED=true
DEVKIT_URL=yaci-cli
DEVKIT_PORT=${HOST_N2C_SOCAT_PORT}
## Viewer Config - DON'T CHANGE
VITE_INDEXER_BASE_URL=http://yaci-cli:8080/api/v1
VITE_INDEXER_WS_URL=ws://localhost:${HOST_STORE_API_PORT}/ws/liveblocks
IS_DOCKER=true
## Default Addreses
## Add or remove addresses to topup ada during first run
## Format: <address1>:<ada_amount>,<address2>:<ada_amount>,...
## transaction payment
topup_addresses=addr_test1qz5t8wq55e09usmh07ymxry8atzwxwt2nwwzfngg6esffxvw2pfap6uqmkj3n6zmlrsgz397md2gt7yqs5p255uygaesx608y5:2
## Logger Config
LOG_FILE_PATH=/var/log/rosetta-java
LOG_FILE_NAME=/var/log/rosetta-java/rosetta-java.log
LOG_FILE_MAX_SIZE=10MB
LOG_FILE_MAX_HISTORY=10