-
Notifications
You must be signed in to change notification settings - Fork 11
/
.env-gh-codespaces-sample
31 lines (25 loc) · 1.37 KB
/
.env-gh-codespaces-sample
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
# This configuration adds the following overlays:
#
# docker-gh-codespaces: GitHub Codespaces settings (eg port 3000 exposed)
#
# docker-compose-publish-capybara-port.yml: expose the capybara port so a chrome driver
# running on the host machine can talk to the capaybara server and you can see the UI
# while the test are running.
COMPOSE_FILE=docker-compose.yml:docker/dev/docker-compose-gh-codespaces.yml:docker/dev/docker-compose-publish-capybara-port.yml:docker/dev/docker-compose-lara-proxy.yml
# Run `echo ${CODESPACE_NAME}` in LARA GitHub Codespace container and copy returned value here. It'll be used
# to automatically set LARA_HOST, LARA_DOMAIN, and LARA_TOOL_ID variables.
LARA_CODESPACE_NAME=
LARA_HOST=${LARA_CODESPACE_NAME}-3000.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN}
LARA_DOMAIN=${LARA_CODESPACE_NAME}-3000.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN}
# CODESPACE_NAME is available in GitHub Codespace container.
PORTAL_HOST=${CODESPACE_NAME}-3000.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN}
PORTAL_PROTOCOL=https
# Run the portal in researcher report mode this is used by the researcher portal
# RESEARCHER_REPORT_ONLY=true
MYSQL_ROOT_PASSWORD=xyzzy
# Sets the secret used to generate the portal JWT tokens in lib/signed_jwt.rb
JWT_HMAC_SECRET=XXXX
# Configure rails logging levels:
# DEBUG | INFO | WARN | ERROR | FATAL | UNKNOWN
TEST_LOG_LEVEL=WARN
DEV_LOG_LEVEL=DEBUG