Skip to content

Commit

Permalink
Merge pull request #5 from legalthings/mainnet-rest-api
Browse files Browse the repository at this point in the history
Enable rest api for mainnet anchor and full nodes
  • Loading branch information
svenstm committed Jan 13, 2019
2 parents 3d107c7 + e9337e5 commit d15633f
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
6 changes: 6 additions & 0 deletions anchor-node/Dockerrun.elastic-cache.aws.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@
"sourceVolume": "lto-data",
"containerPath": "/lto/data"
}
],
"environment": [
{
"name": "ENABLE_REST_API",
"value": "true"
}
]
}
]
Expand Down
6 changes: 6 additions & 0 deletions anchor-node/Dockerrun.redis.aws.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@
"sourceVolume": "lto-data",
"containerPath": "/lto/data"
}
],
"environment": [
{
"name": "ENABLE_REST_API",
"value": "true"
}
]
},
{
Expand Down
1 change: 1 addition & 0 deletions anchor-node/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ services:
container_name: public-node
image: legalthings/public-node
environment:
- ENABLE_REST_API=true
- LTO_WALLET_SEED=<seed of your wallet>
- LTO_WALLET_PASSWORD=<a password for your wallet>
- LTO_API_KEY=<a secret to use the api>
Expand Down
6 changes: 6 additions & 0 deletions full-node/AWS Elastic Beanstalk/Dockerrun.aws.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@
"sourceVolume": "lto-data",
"containerPath": "/lto/data"
}
],
"environment": [
{
"name": "ENABLE_REST_API",
"value": "true"
}
]
},
{
Expand Down
1 change: 1 addition & 0 deletions full-node/Docker compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ services:
container_name: public-node
image: legalthings/public-node
environment:
- ENABLE_REST_API=true
- LTO_WALLET_SEED=<seed of your wallet>
- LTO_API_KEY=<a secret to use the api>
networks:
Expand Down

0 comments on commit d15633f

Please sign in to comment.