Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Variables allow you to customize the configuration of containers. Many variables are commonly used in the We define some of them in docker-compose.yml and .env files to configure the environment, but some of them have a very specific use only y deben añadirse manualmente. Variables comunes a todos los entornos y que se encuentran en el fichero .envthere are other that allow further configuration and must be manually defined.

Common variables in all environments, defined in the .env file:

  • TZ=Europe/Madrid permite indicar la zona horaria used to set the timezone.

  • SSH_USERNAME=opengate Used to set the username in the SSH server. All Nodes and WebRTC Gateways of an environment must also have the same.

  • SSH_PORT=2222 Used to set the SSH server port. All Nodes and WebRTC Gateways of an environment must also have the same.

Info

Si desea modificar el valor por defecto de una variable que no exista en el fichero .env, deberá añadirla a su fichero docker-compose.yml en la sección adecuada y definir su valor. Para más información sobre como definir las variables en el fichero compose, puede consultar la documentación oficial de docker compose If you want to set a variable that does not appear in the .env file, you must manually add to your docker-compose.yml file, inserting in the appropriate section with the value you want to use. For more information on defining enviroment variables in a compose file you can check the official documentation https://docs.docker.com/compose/how-tos/environment-variables/set-environment-variables/.

...