|
| 1 | +# =========================================================== |
| 2 | +# Environment variables for odtp |
| 3 | +# Setup options: |
| 4 | +# - [COMPOSE] `docker compose` (recommended) |
| 5 | +# - [DEV] `docker compose -f compose.dev.yml` (for development) |
| 6 | +# - [VM] server setup with poetry |
| 7 | +# =========================================================== |
| 8 | + |
| 9 | +# =========================================================== |
| 10 | +# Credentials with other services |
| 11 | +# - needed for all setup methods |
| 12 | +# =========================================================== |
| 13 | + |
| 14 | +# Credentials github |
| 15 | +# your github token |
| 16 | +GITHUB_TOKEN= |
| 17 | + |
| 18 | +# =========================================================== |
| 19 | +# Credentials that you can choose on setup |
| 20 | +# - needed for all setup methods |
| 21 | +# =========================================================== |
| 22 | + |
| 23 | +# Credentials S3 |
| 24 | +ODTP_ACCESS_KEY= |
| 25 | +ODTP_SECRET_KEY= |
| 26 | + |
| 27 | +# mongodb user and password |
| 28 | +MONGO_DB_USER= |
| 29 | +MONGO_DB_PASSWORD= |
| 30 | + |
| 31 | +# mongoexpress user and password |
| 32 | +MONGO_EXPRESS_USER= |
| 33 | +MONGO_EXPRESS_PASSWORD= |
| 34 | + |
| 35 | +# =========================================================== |
| 36 | +# Database names |
| 37 | +# - needed for all setup methods |
| 38 | +# =========================================================== |
| 39 | + |
| 40 | +# odtp db instance in the mongo db: "odtp" |
| 41 | +ODTP_MONGO_DB=odtp |
| 42 | + |
| 43 | +# s3 bucket name: "odtp" |
| 44 | +ODTP_BUCKET_NAME=odtp |
| 45 | + |
| 46 | +# =========================================================== |
| 47 | +# ODTP Path is where the dashboard will store users, |
| 48 | +# digital twins and executions |
| 49 | +# - needed for all setup methods |
| 50 | +# =========================================================== |
| 51 | + |
| 52 | +# path where your executions run and the digital twins are stored |
| 53 | +ODTP_PATH= |
| 54 | + |
| 55 | +# =========================================================== |
| 56 | +# Volumes to persist database content |
| 57 | +# these must match path on your local computer |
| 58 | +# - only needed for setup methods [COMPOSE], [DEV] |
| 59 | +# =========================================================== |
| 60 | + |
| 61 | +# path where s3 data is stored |
| 62 | +MINIO_PATH= |
| 63 | + |
| 64 | +# path where mongodb content is stored |
| 65 | +MONGODB_PATH= |
| 66 | + |
| 67 | +# =========================================================== |
| 68 | +# Operational settings: change only if needed |
| 69 | +# - needed for all setup methods |
| 70 | +# =========================================================== |
| 71 | + |
| 72 | +# Dashboard parameters |
| 73 | +ODTP_DASHBOARD_PORT=8003 |
| 74 | +ODTP_DASHBOARD_RELOAD=False |
| 75 | + |
| 76 | +# Log level |
| 77 | +ODTP_LOG_LEVEL=ERROR |
| 78 | +RUN_LOG_LEVEL=INFO |
| 79 | + |
| 80 | +# Set to False if your docker installation does not allow the flag --gpus all |
| 81 | +# Set to True in case you want to use GPUs |
| 82 | +ALLOW_DOCKER_GPUS=False |
| 83 | + |
| 84 | +# =========================================================== |
| 85 | +# Development settings: only needed for development |
| 86 | +# setup with compose.dev.yml: |
| 87 | +# `docker compose -f compose.dev.yml` |
| 88 | +# - only needed for setup method [DEV] |
| 89 | +# =========================================================== |
| 90 | + |
| 91 | +# Local path on your computer to your odtp installation |
| 92 | +APP_PATH= |
| 93 | + |
| 94 | +# Install the package in editable mode. |
| 95 | +PIP_INSTALL_ARGS="--editable" |
| 96 | + |
| 97 | +# =========================================================== |
| 98 | +# Service URLS |
| 99 | +# - only needed for setup method [VM] |
| 100 | +# =========================================================== |
| 101 | + |
| 102 | +# mongo url: example "mongodb://localhost:27017/" |
| 103 | +ODTP_MONGO_SERVER= |
| 104 | + |
| 105 | +# S3 server url: example: "https://s3.epfl.ch" |
| 106 | +ODTP_S3_SERVER= |
0 commit comments