Advertisement
vnl

komodo_synology_compose.env

vnl
Dec 21st, 2024
12
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.40 KB | None | 0 0
  1. ####################################
  2. # 🦎 KOMODO COMPOSE - VARIABLES 🦎 #
  3. ####################################
  4.  
  5. ## These compose variables can be used with all Komodo deployment options.
  6. ## Pass these variables to the compose up command using `--env-file komodo/compose.env`.
  7. ## Additionally, they are passed to both Komodo Core and Komodo Periphery with `env_file: ./compose.env`,
  8. ## so you can pass any additional environment variables to Core / Periphery directly in this file as well.
  9.  
  10. ## Stick to a specific version, or use `latest`
  11. COMPOSE_KOMODO_IMAGE_TAG=latest
  12.  
  13. ## Note: 🚨 Podman does NOT support local logging driver 🚨. See Podman options here:
  14. ## `https://docs.podman.io/en/v4.6.1/markdown/podman-run.1.html#log-driver-driver`
  15. COMPOSE_LOGGING_DRIVER=local # Enable log rotation with the local driver.
  16.  
  17. ## DB credentials - Ignored for Sqlite
  18. DB_USERNAME=admin
  19. DB_PASSWORD=admin
  20.  
  21. ## Configure a secure passkey to authenticate between Core / Periphery.
  22. PASSKEY=my_secret_key
  23.  
  24. #=-------------------------=#
  25. #= Komodo Core Environment =#
  26. #=-------------------------=#
  27.  
  28. ## Full variable list + descriptions are available here:
  29. ## 🦎 https://github.com/mbecker20/komodo/blob/main/config/core.config.toml 🦎
  30.  
  31. ## Note. Secret variables also support `${VARIABLE}_FILE` syntax to pass docker compose secrets.
  32. ## Docs: https://docs.docker.com/compose/how-tos/use-secrets/#examples
  33.  
  34. ## Used for Oauth / Webhook url suggestion / Caddy reverse proxy.
  35. KOMODO_HOST=http://192.168.1.22:9120
  36. ## Displayed in the browser tab.
  37. KOMODO_TITLE=Komodo
  38. ## Create a server matching this address as the "first server".
  39. ## Use `https://host.docker.internal:8120` when using systemd-managed Periphery.
  40. ## KOMODO_FIRST_SERVER=https://periphery:8120
  41. ## Make all buttons just double-click, rather than the full confirmation dialog.
  42. KOMODO_DISABLE_CONFIRM_DIALOG=false
  43.  
  44. ## Rate Komodo polls your servers for
  45. ## status / container status / system stats / alerting.
  46. ## Options: 1-sec, 5-sec, 15-sec, 1-min, 5-min.
  47. ## Default: 15-sec
  48. KOMODO_MONITORING_INTERVAL="15-sec"
  49. ## Rate Komodo polls Resources for updates,
  50. ## like outdated commit hash.
  51. ## Options: 1-min, 5-min, 15-min, 30-min, 1-hr.
  52. ## Default: 5-min
  53. KOMODO_RESOURCE_POLL_INTERVAL="5-min"
  54.  
  55. ## Used to auth against periphery. Alt: KOMODO_PASSKEY_FILE
  56. KOMODO_PASSKEY=my_secret_key
  57. ## Used to auth incoming webhooks. Alt: KOMODO_WEBHOOK_SECRET_FILE
  58. KOMODO_WEBHOOK_SECRET=my_webhook_secret
  59. ## Used to generate jwt. Alt: KOMODO_JWT_SECRET_FILE
  60. KOMODO_JWT_SECRET=my_jwt_secret
  61.  
  62. ## Enable login with username + password.
  63. KOMODO_LOCAL_AUTH=true
  64. ## Disable new user signups.
  65. KOMODO_DISABLE_USER_REGISTRATION=false
  66. ## All new logins are auto enabled
  67. KOMODO_ENABLE_NEW_USERS=false
  68. ## Disable non-admins from creating new resources.
  69. KOMODO_DISABLE_NON_ADMIN_CREATE=false
  70. ## Allows all users to have Read level access to all resources.
  71. KOMODO_TRANSPARENT_MODE=false
  72.  
  73. ## Time to live for jwt tokens.
  74. ## Options: 1-hr, 12-hr, 1-day, 3-day, 1-wk, 2-wk
  75. KOMODO_JWT_TTL="1-day"
  76.  
  77. ## OIDC Login
  78. KOMODO_OIDC_ENABLED=false
  79. ## Must reachable from Komodo Core container
  80. # KOMODO_OIDC_PROVIDER=https://oidc.provider.internal/application/o/komodo
  81. ## Change the host to one reachable be reachable by users (optional if it is the same as above).
  82. ## DO NOT include the `path` part of the URL.
  83. # KOMODO_OIDC_REDIRECT_HOST=https://oidc.provider.external
  84. ## Your client credentials
  85. # KOMODO_OIDC_CLIENT_ID= # Alt: KOMODO_OIDC_CLIENT_ID_FILE
  86. # KOMODO_OIDC_CLIENT_SECRET= # Alt: KOMODO_OIDC_CLIENT_SECRET_FILE
  87. ## Make usernames the full email.
  88. # KOMODO_OIDC_USE_FULL_EMAIL=true
  89. ## Add additional trusted audiences for token claims verification.
  90. ## Supports comma separated list, and passing with _FILE (for compose secrets).
  91. # KOMODO_OIDC_ADDITIONAL_AUDIENCES=abc,123 # Alt: KOMODO_OIDC_ADDITIONAL_AUDIENCES_FILE
  92.  
  93. ## Github Oauth
  94. KOMODO_GITHUB_OAUTH_ENABLED=false
  95. # KOMODO_GITHUB_OAUTH_ID= # Alt: KOMODO_GITHUB_OAUTH_ID_FILE
  96. # KOMODO_GITHUB_OAUTH_SECRET= # Alt: KOMODO_GITHUB_OAUTH_SECRET_FILE
  97.  
  98. ## Google Oauth
  99. KOMODO_GOOGLE_OAUTH_ENABLED=false
  100. # KOMODO_GOOGLE_OAUTH_ID= # Alt: KOMODO_GOOGLE_OAUTH_ID_FILE
  101. # KOMODO_GOOGLE_OAUTH_SECRET= # Alt: KOMODO_GOOGLE_OAUTH_SECRET_FILE
  102.  
  103. ## Aws - Used to launch Builder instances and ServerTemplate instances.
  104. ## KOMODO_AWS_ACCESS_KEY_ID= # Alt: KOMODO_AWS_ACCESS_KEY_ID_FILE
  105. ## KOMODO_AWS_SECRET_ACCESS_KEY= # Alt: KOMODO_AWS_SECRET_ACCESS_KEY_FILE
  106.  
  107. ## Hetzner - Used to launch ServerTemplate instances
  108. ## Hetzner Builder not supported due to Hetzner pay-by-the-hour pricing model
  109. ## KOMODO_HETZNER_TOKEN= # Alt: KOMODO_HETZNER_TOKEN_FILE
  110.  
  111. #=------------------------------=#
  112. #= Komodo Periphery Environment =#
  113. #=------------------------------=#
  114.  
  115. ## Full variable list + descriptions are available here:
  116. ## 🦎 https://github.com/mbecker20/komodo/blob/main/config/periphery.config.toml 🦎
  117.  
  118. ## Periphery passkeys must include KOMODO_PASSKEY to authenticate
  119. PERIPHERY_PASSKEYS=my_secret_key
  120.  
  121. ## Enable SSL using self signed certificates.
  122. ## Connect to Periphery at https://address:8120.
  123. PERIPHERY_SSL_ENABLED=true
  124.  
  125. ## If the disk size is overreporting, can use one of these to
  126. ## whitelist / blacklist the disks to filter them, whichever is easier.
  127. ## Accepts comma separated list of paths.
  128. ## Usually whitelisting just /etc/hostname gives correct size.
  129. PERIPHERY_INCLUDE_DISK_MOUNTS=/etc/hostname
  130. # PERIPHERY_EXCLUDE_DISK_MOUNTS=/snap,/etc/repos
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement