Skip to content

Commit 8a089bf

Browse files
Assem-UberCopilot
andauthored
Replace docker_env with .env file (#1007)
* Replace docker_env with .env file * comment out CADENCE_WEB_PORT and CADENCE_WEB_HOSTNAME for clarity * comment out CADENCE_WEB_PORT and CADENCE_WEB_HOSTNAME for clarity * remove typo from env file * Update .env Co-authored-by: Copilot <[email protected]> * Add line ending --------- Co-authored-by: Copilot <[email protected]>
1 parent 2e7037a commit 8a089bf

File tree

3 files changed

+19
-8
lines changed

3 files changed

+19
-8
lines changed

.devcontainer/docker-compose.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ version: '3.8'
22
services:
33
# Update this to the name of the service you want to work with in your docker-compose.yml file
44
cadence_web:
5-
env_file:
6-
- .docker_env
75
# Uncomment if you want to override the service's Dockerfile to one in the .devcontainer
86
# folder. Note that the path of the Dockerfile and context is relative to the *primary*
97
# docker-compose.yml file (the first in the devcontainer.json "dockerComposeFile"

.docker_env

Lines changed: 0 additions & 6 deletions
This file was deleted.

.env

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
CADENCE_CLUSTERS_NAMES=cluster0
2+
CADENCE_GRPC_PEERS="127.0.0.1:7833"
3+
CADENCE_GRPC_SERVICES_NAMES=cadence-frontend
4+
CADENCE_ADMIN_SECURITY_TOKEN=""
5+
6+
### Configuring CADENCE_WEB_PORT & CADENCE_WEB_HOSTNAME from .env file is currently ineffective since they must be available before the app starts
7+
### TODO: read those values before running start/dev commands
8+
# CADENCE_WEB_PORT=8088
9+
# CADENCE_WEB_HOSTNAME=0.0.0.0
10+
11+
### Advanced
12+
# NEXT_CONFIG_BUILD_OUTPUT=standalone
13+
# OTEL_SDK_DISABLED=false
14+
# CADENCE_GRPC_TLS_CA_FILE="file.pem"
15+
16+
### Feature flags
17+
# CADENCE_ARCHIVAL_DEFAULT_SEARCH_ENABLED=true
18+
# CADENCE_EXTENDED_DOMAIN_INFO_METADATA_ENABLED=true
19+
# CADENCE_WORKFLOW_DIAGNOSTICS_ENABLED=true

0 commit comments

Comments
 (0)