-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from enolfc/eosc-accounting
EOSC Accounting
- Loading branch information
Showing
13 changed files
with
330 additions
and
190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
FROM python:3 | ||
|
||
COPY . /egi-notebooks-accounting | ||
WORKDIR /egi-notebooks-accounting | ||
|
||
RUN pip install --no-cache-dir -e /egi-notebooks-accounting/ | ||
COPY requirements.txt . | ||
|
||
RUN pip install --no-cache-dir -r requirements.txt | ||
|
||
COPY . . | ||
|
||
RUN pip install --no-cache-dir . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,45 @@ | ||
[prometheus] | ||
[default] | ||
# be verbose | ||
# verbose=0 | ||
# site=EGI-NOTEBOOKS | ||
# cloud_type=EGI Notebooks | ||
# cloud_compute_service= | ||
# default_vo=vo.notebooks.egi.eu | ||
# fqan_key=primary_group | ||
|
||
# url=http://localhost:8080/ | ||
# user= | ||
# password= | ||
# verbose=0 | ||
# verify=0 | ||
# outputs | ||
# apel_spool= | ||
# notebooks_db= | ||
|
||
# filter=pod=~'jupyter-.*' | ||
# range=4h | ||
|
||
[VO] | ||
# | ||
# VO section example: | ||
# | ||
# [VO] | ||
# VO1=group1,group2,... | ||
# VO2=group3,group4,... | ||
|
||
[prometheus] | ||
# prometheus server URL | ||
# url=http://localhost:8080/ | ||
# Server authentication | ||
# user= | ||
# password= | ||
# do verify server | ||
# verify=0 | ||
# filters for querying | ||
# filter=pod=~'jupyter-.*' | ||
# range=4h | ||
|
||
|
||
[eosc] | ||
# token_url=https://aai-demo.eosc-portal.eu/auth/realms/core/protocol/openid-connect/token | ||
# argo_url=https://accounting.devel.argo.grnet.gr | ||
# refresh_token= | ||
# client_secret= | ||
# AAI credentials (client_grant expected) | ||
# token_url= | ||
# client_id= | ||
# client_secret= | ||
# scopes= | ||
# URL of the accounting service | ||
# accounting_url= | ||
# Installation that metrics are reported for | ||
# installaion_id= | ||
# users_metric= | ||
# sessions_metric= | ||
|
||
[eosc.flavors] | ||
# add every flavor to be reported as follows | ||
# flavor_name=metric_id |
Oops, something went wrong.