-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy path.env
More file actions
96 lines (92 loc) · 4.13 KB
/
Copy path.env
File metadata and controls
96 lines (92 loc) · 4.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# ===========================================================================
# DO NOT EDIT THIS FILE for local customization.
# ---------------------------------------------------------------------------
# This file ships the upstream COSMOS defaults. Editing it causes conflicts
# when pulling in future COSMOS updates. To customize your deployment:
#
# * Non-secret settings (ports, install flags, extra services/volumes,
# non-secret variable values): edit compose.override.yaml. openc3.sh
# merges it on top of compose.yaml automatically and a value set in its
# "environment:" block wins over the value here.
#
# * SECRETS (the passwords / keys below, e.g. OPENC3_*_PASSWORD,
# SECRET_KEY_BASE): put your overrides in a .env.local file next to this
# one. .env.local is gitignored, so secrets never get checked in.
# openc3.sh loads it AFTER this file, so its values override these
# defaults. Do NOT put secrets in compose.override.yaml - it is tracked
# by git. Example .env.local:
# OPENC3_REDIS_PASSWORD=my-real-redis-password
# OPENC3_BUCKET_PASSWORD=my-real-bucket-password
# Shell environment variables override .env.local as well, if you prefer
# to inject secrets from a vault at run time.
# ===========================================================================
# Which TAG to deploy, latest or specific version, e.g. 5.4.2
OPENC3_TAG=7.3.0
# Enable / disable local mode
OPENC3_LOCAL_MODE=1
# Enable / disable installing the Demo
OPENC3_DEMO=1
# Set to the external domain name and port to access COSMOS
OPENC3_EXTERNAL_URL=http://localhost:2900
# NOTE: Optional per-service runtime flags (OPENC3_FORCE_INSTALL,
# OPENC3_DEFAULT_QUEUE, OPENC3_AUTH_RATE_LIMIT_*, OPENC3_ALLOW_HTTP,
# OPENC3_LANGUAGE, OPENC3_NO_BUCKET_POLICY, OPENC3_LOG_STDERR, the OPENC3_NO_*
# tool flags, and extra buckets/volumes) are now documented in
# compose.override.yaml under the service each one applies to.
# Docker repo settings on where to get COSMOS containers
OPENC3_REGISTRY=docker.io
OPENC3_NAMESPACE=openc3inc
OPENC3_DEPENDENCY_REGISTRY=docker.io
OPENC3_ENTERPRISE_REGISTRY=repos.openc3.com
OPENC3_ENTERPRISE_NAMESPACE=openc3
OPENC3_UBI_REGISTRY=registry1.dso.mil
OPENC3_UBI_IMAGE=ironbank/redhat/ubi/ubi9-minimal
OPENC3_UBI_TAG=9.6
# Defined here as blank to avoid warnings. Used in the compose.yaml to pass '-ubi'.
OPENC3_IMAGE_SUFFIX=
# Bucket & Volume configuration
OPENC3_BUCKET_URL=http://openc3-buckets:9000
OPENC3_LOGS_BUCKET=logs
OPENC3_TOOLS_BUCKET=tools
OPENC3_CONFIG_BUCKET=config
OPENC3_GEMS_VOLUME=/gems
OPENC3_PLUGIN_DEFAULT_VOLUME=/plugins/DEFAULT
# Redis configuration
OPENC3_REDIS_HOSTNAME=openc3-redis
OPENC3_REDIS_PORT=6379
OPENC3_REDIS_EPHEMERAL_HOSTNAME=openc3-redis-ephemeral
OPENC3_REDIS_EPHEMERAL_PORT=6380
# Database configuration, see also TSDB in compose.yaml
OPENC3_TSDB_HOSTNAME=openc3-tsdb
OPENC3_TSDB_QUERY_PORT=8812
OPENC3_TSDB_INGEST_PORT=9000
# Usernames and passwords
# Override everything in a .env.local file
# These lines can be removed from this file if available in the host computer environment variables
OPENC3_TSDB_USERNAME=openc3quest
OPENC3_TSDB_PASSWORD=openc3questpassword
OPENC3_REDIS_USERNAME=openc3
OPENC3_REDIS_PASSWORD=openc3password
OPENC3_BUCKET_USERNAME=openc3bucket
OPENC3_BUCKET_PASSWORD=openc3bucketpassword
OPENC3_SR_REDIS_USERNAME=scriptrunner
OPENC3_SR_REDIS_PASSWORD=scriptrunnerpassword
OPENC3_SR_BUCKET_USERNAME=scriptrunnerbucket
OPENC3_SR_BUCKET_PASSWORD=scriptrunnerbucketpassword
OPENC3_SERVICE_PASSWORD=openc3service
SECRET_KEY_BASE=bdb4300d46c9d4f116ce3dbbd54cac6b20802d8be1c2333cf5f6f90b1627799ac5d043e8460744077bc0bd6aacdd5c4bf53f499a68303c6752e7f327b874b96a
# Build and repository settings
ALPINE_VERSION=3.23
ALPINE_BUILD=5
APK_URL=https://dl-cdn.alpinelinux.org
RUBYGEMS_URL=https://rubygems.org
PYPI_URL=https://pypi.org
NPM_URL=https://registry.npmjs.org
MAVEN_URL=https://repo.maven.apache.org/maven2
OPENC3_CLOUD=local
# Override to arn:aws-us-gov for deploying to AWS Gov Cloud
OPENC3_AWS_ARN_PREFIX=arn:aws
# Override based on deployed region
AWS_REGION=us-east-1
# Enables the --trusted-host flag when downloading python package from the PYPI_URL
# PIP_ENABLE_TRUSTED_HOST=1