Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(.env.dist files): provide extra file for dev setup #184

Merged
merged 1 commit into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .env.dist.compose
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@

# odtp db instance in the mongo db: "odtp"
ODTP_MONGO_DB=
# s3 bucket name: "odtp"
# s3 bucket name: "odtp"
ODTP_BUCKET_NAME=

# s3 access and secret key
ODTP_ACCESS_KEY=
ODTP_ACCESS_KEY=
ODTP_SECRET_KEY=

# your github token
Expand All @@ -34,9 +34,11 @@ MONGODB_PATH=
ODTP_DASHBOARD_PORT=
ODTP_DASHBOARD_JSON_EDITOR=

# Log level
ODTP_LOG_LEVEL=
RUN_LOG_LEVEL=
# Log Level General
ODTP_LOG_LEVEL=ERROR

# Log Level when running executions
RUN_LOG_LEVEL=INFO

# App Path
APP_PATH=
Expand Down
48 changes: 48 additions & 0 deletions .env.dist.compose.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# environment variables for installation with docker compose
# with the dev version: compose.dev.yml
# -----------------------------------------------------------
# fill these variables in case you want to install odtp with
# docker compose

# local setup and compose

# odtp db instance in the mongo db: "odtp"
ODTP_MONGO_DB=
# s3 bucket name: "odtp"
ODTP_BUCKET_NAME=

# s3 access and secret key
ODTP_ACCESS_KEY=
ODTP_SECRET_KEY=

# your github token
GITHUB_TOKEN=

# mongodb user and password
MONGO_DB_USER=
MONGO_DB_PASSWORD=

# mongoexpress user and password
MONGO_EXPRESS_USER=
MONGO_EXPRESS_PASSWORD=

# absolute path for docker volumes
ODTP_PATH=
MINIO_PATH=
MONGODB_PATH=

# Dashboard parameters
ODTP_DASHBOARD_PORT=
ODTP_DASHBOARD_JSON_EDITOR=

# Log Level General
ODTP_LOG_LEVEL=ERROR

# Log Level when running executions
RUN_LOG_LEVEL=INFO

# App Path
APP_PATH=

# Install the package in editable mode.
PIP_INSTALL_ARGS="--editable"
8 changes: 5 additions & 3 deletions .env.dist.local
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ ODTP_DASHBOARD_JSON_EDITOR=
# Working directory for user projects
ODTP_PATH=

# Log level
ODTP_LOG_LEVEL=
RUN_LOG_LEVEL=
# Log Level General
ODTP_LOG_LEVEL=ERROR

# Log Level when running executions
RUN_LOG_LEVEL=INFO
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
__pycache__/
.DS_Store
.env*
!.env*.dist
!.env.dist.*
.nicegui
.local
odtp/odtp.log