diff options
author | thursday <xthursdayx@mailbox.org> | 2021-11-23 17:34:02 -0500 |
---|---|---|
committer | thursday <xthursdayx@mailbox.org> | 2021-11-23 17:34:02 -0500 |
commit | 700d0dc4db7b18fc47adb74d694c99ffcc5a1920 (patch) | |
tree | 4aec7a3ca7397b5e975e6c97865e946173c2ba8c /docker/README.md | |
parent | Fixed grammar (diff) | |
download | ferdium-server-700d0dc4db7b18fc47adb74d694c99ffcc5a1920.tar.gz ferdium-server-700d0dc4db7b18fc47adb74d694c99ffcc5a1920.tar.zst ferdium-server-700d0dc4db7b18fc47adb74d694c99ffcc5a1920.zip |
Replace EXTERNAL_DOMAIN variable with APP_URL
Diffstat (limited to 'docker/README.md')
-rw-r--r-- | docker/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/README.md b/docker/README.md index 2d5e6ba..3cb49be 100644 --- a/docker/README.md +++ b/docker/README.md | |||
@@ -35,7 +35,7 @@ To create the docker container with the proper parameters: | |||
35 | docker create \ | 35 | docker create \ |
36 | --name=ferdi-server \ | 36 | --name=ferdi-server \ |
37 | -e NODE_ENV=development \ | 37 | -e NODE_ENV=development \ |
38 | -e EXTERNAL_DOMAIN=https://<ferdi-serverdomain> \ | 38 | -e APP_URL=<ferdi-server-url> \ |
39 | -e DB_CONNECTION=<database> \ | 39 | -e DB_CONNECTION=<database> \ |
40 | -e DB_HOST=<yourdbhost> \ | 40 | -e DB_HOST=<yourdbhost> \ |
41 | -e DB_PORT=<yourdbport> \ | 41 | -e DB_PORT=<yourdbport> \ |
@@ -79,7 +79,7 @@ Container images are configured using parameters passed at runtime (such as thos | |||
79 | | :----: | --- | | 79 | | :----: | --- | |
80 | | `-p <port>:3333` | Will map the container's port 3333 to a port on the host, default is 3333. See the [Docker docs](https://docs.docker.com/config/containers/container-networking/) for more information about port mapping | | 80 | | `-p <port>:3333` | Will map the container's port 3333 to a port on the host, default is 3333. See the [Docker docs](https://docs.docker.com/config/containers/container-networking/) for more information about port mapping | |
81 | | `-e NODE_ENV=development` | for specifying Node environment, production or development, default is development **currently this should not be changed**. See the [Docker docs](https://docs.docker.com/) for more information on the use of environmental variables in [Command-line](https://docs.docker.com/engine/reference/commandline/run/#mount-volume--v---read-only) and [Docker Compose](https://docs.docker.com/compose/environment-variables/) | | 81 | | `-e NODE_ENV=development` | for specifying Node environment, production or development, default is development **currently this should not be changed**. See the [Docker docs](https://docs.docker.com/) for more information on the use of environmental variables in [Command-line](https://docs.docker.com/engine/reference/commandline/run/#mount-volume--v---read-only) and [Docker Compose](https://docs.docker.com/compose/environment-variables/) | |
82 | | `-e EXTERNAL_DOMAIN=https://<ferdi-serverdomain>` | for specifying the external https domain address of the Ferdi-server | | 82 | | `-e APP_URL=<ferdi-server-url>` | for specifying the URL of the Ferdi-server, including `http://` or `https://` as relevant. | |
83 | | `-e DB_CONNECTION=<databasedriver` | for specifying the database being used, default is sqlite, see [below](#supported-databases-and-drivers) for other options | | 83 | | `-e DB_CONNECTION=<databasedriver` | for specifying the database being used, default is sqlite, see [below](#supported-databases-and-drivers) for other options | |
84 | | `-e DB_HOST=<yourdbhost>` | for specifying the database host, default is 127.0.0.1 | | 84 | | `-e DB_HOST=<yourdbhost>` | for specifying the database host, default is 127.0.0.1 | |
85 | | `-e DB_PORT=<yourdbport>` | for specifying the database port, default is 3306 | | 85 | | `-e DB_PORT=<yourdbport>` | for specifying the database port, default is 3306 | |