Skip to content

Commit

Permalink
Merge pull request #1000 from openkfw/940-create-more-detailed-log-ou…
Browse files Browse the repository at this point in the history
…tput

940 create more detailed log output
  • Loading branch information
laurenzhonauer authored Nov 4, 2021
2 parents 91efaa8 + fc262d2 commit 07f5fc1
Show file tree
Hide file tree
Showing 418 changed files with 10,948 additions and 5,303 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/github-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
excel-export-service,
email-notification-service,
storage-service,
logging-service
]

defaults:
Expand Down Expand Up @@ -116,6 +117,7 @@ jobs:
excel-export-service,
email-notification-service,
storage-service,
logging-service
]
include:
- project: frontend
Expand All @@ -134,6 +136,8 @@ jobs:
image_name: trubudget/email-notification
- project: storage-service
image_name: trubudget/storage-service
- project: logging-service
image_name: logging-service
defaults:
run:
working-directory: ${{ matrix.project }}
Expand Down
1 change: 0 additions & 1 deletion api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ RUN npm ci

COPY src src/
COPY tsconfig.json .

RUN npm run build

ARG BUILDTIMESTAMP=''
Expand Down
2 changes: 1 addition & 1 deletion api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| ORGANIZATION | yes | - | In the blockchain network, each node is represented by its organization name. This environment variable sets this organization name. It is used to create the organization stream on the blockchain and is also displayed in the frontend's top right corner. |
| ORGANIZATION_VAULT_SECRET | yes | - | This is the key to en-/decrypt user data of an organization. If you want to add a new node for your organization, you want users to be able to log in on either node. <br>**Caution:** If you want to run TruBudget in production, make sure NOT to use the default value from the `.env_example` file! |
| PORT | no | 8080 | The port used to expose the API for your installation. <br>Example: If you run TruBudget locally and set API_PORT to `8080`, you can reach the API via `localhost:8080/api`. |
| PRETTY_PRINT | no | true | Decides whether the logs printed by the API are pretty printed or not. Pretty printed logs are easier to read while non-pretty printed logs are easier to store and use e.g. in the ELK (Elasticsearch-Logstash-Kabana) stack. |
| PRETTY_PRINT | no | false | Decides whether the logs printed by the API are pretty printed or not. Pretty printed logs are easier to read while non-pretty printed logs are easier to store and use e.g. in the ELK (Elasticsearch-Logstash-Kabana) stack. |
| ROOT_SECRET | no | [random] | The root secret is the password for the root user. If you start with an empty blockchain, the root user is needed to add other users, approve new nodes,.. If you don't set a value via the environment variable, the API generates one randomly and prints it to the console <br>**Caution:** If you want to run TruBudget in production, make sure to set a secure root secret. |
| RPC_HOST | no | localhost | The IP address of the blockchain (not multichain daemon,but they are usally the same) you want to connect to. |
| BACKUP_API_PORT | no | 8085 | The Port of the blockchain (not multichain daemon,but they are usally the same) you want to connect to. |
Expand Down
Loading

0 comments on commit 07f5fc1

Please sign in to comment.