-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RTC-345] Prefix env vars with JF (#91)
- Loading branch information
Showing
5 changed files
with
98 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,47 @@ | ||
# used by the server e.g. to create tokens | ||
SECRET_KEY_BASE=super-secret-key | ||
# IP and PORT an HTTP endpoint will listen to | ||
# In Docker, JF_PORT defaults to 8080 | ||
# JF_IP=0.0.0.0 | ||
# JF_PORT=8080 | ||
|
||
# true, if WebRTC peers are used | ||
WEBRTC_USED=true | ||
|
||
# hostname used to generate URLs throught the server | ||
VIRTUAL_HOST=localhost | ||
PORT=5002 | ||
SERVER_API_TOKEN=development | ||
# Defines how Jellyfish is seen from the outside. | ||
# It can be in one of the following forms: | ||
# * ip:port | ||
# * fqdn:port | ||
# * fqdn | ||
# By default, it is equal to "JF_IP:JF_PORT". | ||
JF_HOST=localhost:8080 | ||
|
||
# JF_METRICS_IP=0.0.0.0 | ||
# JF_METRICS_PORT=9568 | ||
|
||
# Token used for authorizing HTTP requests | ||
JF_SERVER_API_TOKEN=jellyfish_docker_token | ||
|
||
# Used by the server e.g. to create client tokens. | ||
# If not set, it will be generated. | ||
# JF_SECRET_KEY_BASE=super-secret-key | ||
|
||
# Decide if jellyfish will check origin of requests | ||
# CHECK_ORIGIN=false | ||
# JF_CHECK_ORIGIN=true | ||
|
||
# Where Jellyfish should save its artifacts | ||
# You can get access to this directory e.g. by mounting | ||
# a volume with: | ||
# | ||
# -v $(pwd)/jellyfish_output:/app/jellyfish_output | ||
# | ||
# JF_OUTPUT_BASE_PATH=/app/jellyfish_output | ||
|
||
|
||
# WEBRTC ENVS | ||
|
||
# true, if WebRTC peers are used | ||
JF_WEBRTC_USED=true | ||
|
||
# TURN default configuration | ||
# note: loopback address as INTEGRATED_TURN_IP cannot be used inside a Docker container | ||
INTEGRATED_TURN_IP=<your_public_ip_address> | ||
INTEGRATED_TURN_LISTEN_IP=0.0.0.0 | ||
INTEGRATED_TURN_PORT_RANGE=50000-65355 | ||
# note: when running locally, JF_INTEGRATED_TURN_IP can be your private ip address | ||
JF_INTEGRATED_TURN_IP=<your_public_ip_address> | ||
JF_INTEGRATED_TURN_LISTEN_IP=0.0.0.0 | ||
JF_INTEGRATED_TURN_PORT_RANGE=50000-50050 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters