From 700d0dc4db7b18fc47adb74d694c99ffcc5a1920 Mon Sep 17 00:00:00 2001 From: thursday Date: Tue, 23 Nov 2021 17:34:02 -0500 Subject: Replace EXTERNAL_DOMAIN variable with APP_URL --- docker/README.md | 4 ++-- docker/docker-compose.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'docker') 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: docker create \ --name=ferdi-server \ -e NODE_ENV=development \ - -e EXTERNAL_DOMAIN=https:// \ + -e APP_URL= \ -e DB_CONNECTION= \ -e DB_HOST= \ -e DB_PORT= \ @@ -79,7 +79,7 @@ Container images are configured using parameters passed at runtime (such as thos | :----: | --- | | `-p :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 | | `-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/) | -| `-e EXTERNAL_DOMAIN=https://` | for specifying the external https domain address of the Ferdi-server | +| `-e APP_URL=` | for specifying the URL of the Ferdi-server, including `http://` or `https://` as relevant. | | `-e DB_CONNECTION=` | for specifying the database host, default is 127.0.0.1 | | `-e DB_PORT=` | for specifying the database port, default is 3306 | diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 3d3f66d..4902331 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -5,7 +5,7 @@ services: container_name: ferdi-server environment: - NODE_ENV=development - - EXTERNAL_DOMAIN=localhost + - APP_URL=localhost - DB_CONNECTION=sqlite - DB_HOST=127.0.0.1 - DB_PORT=3306 -- cgit v1.2.3-54-g00ecf