This repository was archived by the owner on Oct 23, 2023. It is now read-only.
forked from SimplyLinn/bunny
-
Notifications
You must be signed in to change notification settings - Fork 13
Configure dotenv
Khauri McClain edited this page Oct 9, 2019
·
1 revision
A single .env file at the root of the project is used to configure every service from one location.
This file is copied to within the service's docker context when running the docker-build script for any given service, therefore it is strongly recommended to only build the docker images using the respective
Configurations that are specific to a service are prefixed, TURTUS_SERVER, TURTUS_WEB, and TURTUS_VB. Anything not prefixed applies to one or more service.
| value | default | description |
|---|---|---|
| TURTUS_SERVER_USE_HTTPS | true | Whether the server is served over https or not |
| TURTUS_SERVER_PORT | 443 | The port the server will hook onto. This will always be overridden by process.env.PORT
|
| TURTUS_SERVER_DOCKER_MODE | "local" | Use "local" to use the local installation and " |
| TURTUS_SERVER_DRIVER | "local" | The server driver. Only local currently supported. |
| TURTUS_SERVER_DB_DRIVER | "local" | The driver for the database. Only local currently supported |
| value | default | description |
|---|---|---|
| TURTUS_WEB_PORT | 80 | The port the client will hook onto. (Not currently available) |
The virtual browser can be started with a few command line arguments that will override any of the below configurations starting with TURTUS_VB_DEFAULT_.
| value | default | description |
|---|---|---|
| TURTUS_VB_PORT | 8080 | |
| TURTUS_VB_DEFAULT_SIGNAL_SERVER | "wss://host.docker.internal" | The url of the signal server. |
| TURTUS_VB_DEFAULT_IDLE_TIMEOUT | 1000 | How long in ms the vb will wait after the last peer has disconnected before shutting down. Set this to -1 to guarantee it will never shut down |
| TURTUS_VB_DEFAULT_WIDTH | 1280 | The default width of the virtual browser |
| TURTUS_VB_DEFAULT_HEIGHT | 720 | The default height of the virtual browser |
| TURTUS_VB_DEFAULT_BIT_DEPTH | 24 | the default bit depth of the virtual browser |
| TURTUS_VB_DEFAULT_URL | "" | the default url of the virtual browser |