Skip to content

Commit

Permalink
docker shared log and fixes to run in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
David Pangerl committed Sep 21, 2021
1 parent 1eec352 commit 1fa2d09
Show file tree
Hide file tree
Showing 4 changed files with 408 additions and 386 deletions.
4 changes: 2 additions & 2 deletions .deploy.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
PROJECT_SECRET=projects/flare-network-staging/secrets/data-provider-4_flare-price-provider_accountPrivateKey/versions/latest
RPC_URL=wss://songbird-api.flare.network/ext/bc/C/ws
#PROJECT_SECRET=projects/flare-network-staging/secrets/data-provider-4_flare-price-provider_accountPrivateKey/versions/latest
RPC_URL=https://songbird-api.flare.network/ext/bc/C/rpc
4 changes: 3 additions & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# Set to production when deploying to production
NODE_ENV=production
NODE_ENV=production

DOTENV_INCLUDE = .deploy.env
34 changes: 34 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [

{
"type": "node",
"request": "launch",
"name": "Launch",
"runtimeExecutable": "node",
"runtimeArgs": [
"dist/DataProvider.js", "-c", "configs/config-scdev.json"
]
},
{
"type": "node",
"request": "launch",
"name": "Launch .JS",
"runtimeExecutable": "node",
"runtimeArgs": [
"dist/src/server.js"
]
},
{
"name": "Docker Node.js Launch",
"type": "docker",
"request": "launch",
"preLaunchTask": "docker-run: debug",
"platform": "node"
}
]
}
Loading

0 comments on commit 1fa2d09

Please sign in to comment.